clang 22.0.0git
|
Class that performs name lookup into a DeclContext stored in an AST file. More...
Public Types | |
using | external_key_type = DeclarationName |
using | internal_key_type = DeclarationNameKey |
Public Types inherited from clang::serialization::reader::ASTDeclContextNameLookupTraitBase | |
using | data_type = SmallVector<GlobalDeclID, 4> |
The lookup result is a list of global declaration IDs. | |
using | hash_value_type = unsigned |
using | offset_type = unsigned |
using | file_type = ModuleFile * |
Public Member Functions | |
ASTDeclContextNameLookupTrait (ASTReader &Reader, ModuleFile &F) | |
internal_key_type | ReadKey (const unsigned char *d, unsigned) |
void | ReadDataInto (internal_key_type, const unsigned char *d, unsigned DataLen, data_type_builder &Val) |
Public Member Functions inherited from clang::serialization::reader::ASTDeclContextNameLookupTraitBase | |
void | ReadDataIntoImpl (const unsigned char *d, unsigned DataLen, data_type_builder &Val) |
file_type | ReadFileRef (const unsigned char *&d) |
DeclarationNameKey | ReadKeyBase (const unsigned char *&d) |
Static Public Member Functions | |
static bool | EqualKey (const internal_key_type &a, const internal_key_type &b) |
static hash_value_type | ComputeHash (const internal_key_type &Key) |
static internal_key_type | GetInternalKey (const external_key_type &Name) |
Static Public Member Functions inherited from clang::serialization::reader::ASTDeclContextNameLookupTraitBase | |
static std::pair< unsigned, unsigned > | ReadKeyDataLength (const unsigned char *&d) |
static void | MergeDataInto (const data_type &From, data_type_builder &To) |
Additional Inherited Members | |
Static Public Attributes inherited from clang::serialization::reader::ASTDeclContextNameLookupTraitBase | |
static const int | MaxTables = 4 |
Protected Member Functions inherited from clang::serialization::reader::ASTDeclContextNameLookupTraitBase | |
ASTDeclContextNameLookupTraitBase (ASTReader &Reader, ModuleFile &F) | |
Protected Attributes inherited from clang::serialization::reader::ASTDeclContextNameLookupTraitBase | |
ASTReader & | Reader |
ModuleFile & | F |
Class that performs name lookup into a DeclContext stored in an AST file.
Definition at line 107 of file ASTReaderInternals.h.
using clang::serialization::reader::ASTDeclContextNameLookupTrait::external_key_type = DeclarationName |
Definition at line 112 of file ASTReaderInternals.h.
using clang::serialization::reader::ASTDeclContextNameLookupTrait::internal_key_type = DeclarationNameKey |
Definition at line 113 of file ASTReaderInternals.h.
|
inlineexplicit |
Definition at line 109 of file ASTReaderInternals.h.
References clang::serialization::reader::ASTDeclContextNameLookupTraitBase::ASTDeclContextNameLookupTraitBase(), clang::serialization::reader::ASTDeclContextNameLookupTraitBase::F, and clang::serialization::reader::ASTDeclContextNameLookupTraitBase::Reader.
|
inlinestatic |
Definition at line 119 of file ASTReaderInternals.h.
References clang::serialization::DeclarationNameKey::getHash().
|
inlinestatic |
Definition at line 115 of file ASTReaderInternals.h.
References b.
|
inlinestatic |
Definition at line 123 of file ASTReaderInternals.h.
void ASTDeclContextNameLookupTrait::ReadDataInto | ( | internal_key_type | , |
const unsigned char * | d, | ||
unsigned | DataLen, | ||
data_type_builder & | Val ) |
Definition at line 1383 of file ASTReader.cpp.
References ReadDataInto(), and clang::serialization::reader::ASTDeclContextNameLookupTraitBase::ReadDataIntoImpl().
Referenced by ReadDataInto().
ASTDeclContextNameLookupTrait::internal_key_type ASTDeclContextNameLookupTrait::ReadKey | ( | const unsigned char * | d, |
unsigned | ) |
Definition at line 1368 of file ASTReader.cpp.
References ReadKey(), and clang::serialization::reader::ASTDeclContextNameLookupTraitBase::ReadKeyBase().
Referenced by ReadKey().