clang  10.0.0svn
Public Member Functions | Static Public Member Functions | Friends | List of all members
clang::APValue::LValuePathEntry Class Reference

A non-discriminated union of a base, field, or array index. More...

#include "clang/AST/APValue.h"

Public Member Functions

 LValuePathEntry ()
 
 LValuePathEntry (BaseOrMemberType BaseOrMember)
 
BaseOrMemberType getAsBaseOrMember () const
 
uint64_t getAsArrayIndex () const
 

Static Public Member Functions

static LValuePathEntry ArrayIndex (uint64_t Index)
 

Friends

bool operator== (LValuePathEntry A, LValuePathEntry B)
 
bool operator!= (LValuePathEntry A, LValuePathEntry B)
 
llvm::hash_code hash_value (LValuePathEntry A)
 

Detailed Description

A non-discriminated union of a base, field, or array index.

Definition at line 195 of file APValue.h.

Constructor & Destructor Documentation

◆ LValuePathEntry() [1/2]

clang::APValue::LValuePathEntry::LValuePathEntry ( )
inline

Definition at line 201 of file APValue.h.

◆ LValuePathEntry() [2/2]

clang::APValue::LValuePathEntry::LValuePathEntry ( BaseOrMemberType  BaseOrMember)
inline

Definition at line 202 of file APValue.h.

Member Function Documentation

◆ ArrayIndex()

static LValuePathEntry clang::APValue::LValuePathEntry::ArrayIndex ( uint64_t  Index)
inlinestatic

Definition at line 204 of file APValue.h.

Referenced by clang::interp::Pointer::toAPValue().

◆ getAsArrayIndex()

uint64_t clang::APValue::LValuePathEntry::getAsArrayIndex ( ) const
inline

Definition at line 214 of file APValue.h.

◆ getAsBaseOrMember()

BaseOrMemberType clang::APValue::LValuePathEntry::getAsBaseOrMember ( ) const
inline

Definition at line 210 of file APValue.h.

Friends And Related Function Documentation

◆ hash_value

llvm::hash_code hash_value ( LValuePathEntry  A)
friend

Definition at line 222 of file APValue.h.

◆ operator!=

bool operator!= ( LValuePathEntry  A,
LValuePathEntry  B 
)
friend

Definition at line 219 of file APValue.h.

◆ operator==

bool operator== ( LValuePathEntry  A,
LValuePathEntry  B 
)
friend

Definition at line 216 of file APValue.h.


The documentation for this class was generated from the following file: