clang 22.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 |
Definition at line 213 of file APValue.h.
Referenced by ArrayIndex(), hash_value, operator!=, and operator==.
APValue::LValuePathEntry::LValuePathEntry | ( | BaseOrMemberType | BaseOrMember | ) |
Definition at line 147 of file APValue.cpp.
|
inlinestatic |
Definition at line 215 of file APValue.h.
References LValuePathEntry(), and 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 |
Definition at line 235 of file APValue.h.
References llvm::hash_value(), and LValuePathEntry().
|
friend |
Definition at line 232 of file APValue.h.
References LValuePathEntry().
|
friend |
Definition at line 229 of file APValue.h.
References LValuePathEntry().