clang 20.0.0git
|
Public Types | |
using | external_key_type = std::pair< DeclarationName, const Module * > |
using | internal_key_type = std::pair< DeclarationNameKey, unsigned > |
![]() | |
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 | |
ModuleLocalNameLookupTrait (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 &Key) |
![]() | |
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 |
Definition at line 137 of file ASTReaderInternals.h.
using clang::serialization::reader::ModuleLocalNameLookupTrait::external_key_type = std::pair<DeclarationName, const Module *> |
Definition at line 142 of file ASTReaderInternals.h.
using clang::serialization::reader::ModuleLocalNameLookupTrait::internal_key_type = std::pair<DeclarationNameKey, unsigned> |
Definition at line 143 of file ASTReaderInternals.h.
|
inlineexplicit |
Definition at line 139 of file ASTReaderInternals.h.
|
static |
Definition at line 1310 of file ASTReader.cpp.
|
inlinestatic |
Definition at line 145 of file ASTReaderInternals.h.
References b.
|
static |
Definition at line 1318 of file ASTReader.cpp.
References clang::getPrimaryModuleHash().
void ModuleLocalNameLookupTrait::ReadDataInto | ( | internal_key_type | , |
const unsigned char * | d, | ||
unsigned | DataLen, | ||
data_type_builder & | Val | ||
) |
Definition at line 1336 of file ASTReader.cpp.
ModuleLocalNameLookupTrait::internal_key_type ModuleLocalNameLookupTrait::ReadKey | ( | const unsigned char * | d, |
unsigned | |||
) |
Definition at line 1329 of file ASTReader.cpp.