clang 20.0.0git
|
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 |
void | Profile (llvm::FoldingSetNodeID &ID) 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) |
A non-discriminated union of a base, field, or array index.
|
inline |
APValue::LValuePathEntry::LValuePathEntry | ( | BaseOrMemberType | BaseOrMember | ) |
Definition at line 147 of file APValue.cpp.
References D, and clang::Decl::getCanonicalDecl().
|
inlinestatic |
Definition at line 216 of file APValue.h.
References clang::Result.
Referenced by clang::ASTNodeImporter::ImportAPValue(), clang::serialization::DataStreamBasicReader< Impl >::readLValuePathSerializationHelper(), and clang::interp::Pointer::toAPValue().
|
inline |
|
inline |
void APValue::LValuePathEntry::Profile | ( | llvm::FoldingSetNodeID & | ID | ) | const |
Definition at line 153 of file APValue.cpp.
|
friend |
|
friend |
|
friend |