clang 20.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 |
![]() | |
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) |
![]() | |
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 std::pair< unsigned, unsigned > | ReadKeyDataLength (const unsigned char *&d) |
static void | MergeDataInto (const data_type &From, data_type_builder &To) |
Additional Inherited Members | |
![]() | |
static const int | MaxTables = 4 |
![]() | |
ASTDeclContextNameLookupTraitBase (ASTReader &Reader, ModuleFile &F) | |
![]() | |
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.
|
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 1302 of file ASTReader.cpp.
ASTDeclContextNameLookupTrait::internal_key_type ASTDeclContextNameLookupTrait::ReadKey | ( | const unsigned char * | d, |
unsigned | |||
) |
Definition at line 1287 of file ASTReader.cpp.