clang 20.0.0git
|
Class that performs lookup to specialized decls. More...
Classes | |
struct | data_type_builder |
Public Types | |
using | data_type = SmallVector< LazySpecializationInfo, 4 > |
The lookup result is a list of global declaration IDs. | |
using | hash_value_type = unsigned |
using | offset_type = unsigned |
using | file_type = ModuleFile * |
using | external_key_type = unsigned |
using | internal_key_type = unsigned |
Public Member Functions | |
LazySpecializationInfoLookupTrait (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) |
file_type | ReadFileRef (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) |
Static Public Attributes | |
static const int | MaxTables = 4 |
Class that performs lookup to specialized decls.
Definition at line 125 of file ASTReaderInternals.h.
using clang::serialization::reader::LazySpecializationInfoLookupTrait::data_type = SmallVector<LazySpecializationInfo, 4> |
The lookup result is a list of global declaration IDs.
Definition at line 134 of file ASTReaderInternals.h.
Definition at line 165 of file ASTReaderInternals.h.
Definition at line 163 of file ASTReaderInternals.h.
Definition at line 161 of file ASTReaderInternals.h.
Definition at line 166 of file ASTReaderInternals.h.
Definition at line 162 of file ASTReaderInternals.h.
|
inlineexplicit |
Definition at line 168 of file ASTReaderInternals.h.
|
inlinestatic |
Definition at line 175 of file ASTReaderInternals.h.
|
inlinestatic |
Definition at line 171 of file ASTReaderInternals.h.
References b.
|
inlinestatic |
Definition at line 179 of file ASTReaderInternals.h.
|
inlinestatic |
void LazySpecializationInfoLookupTrait::ReadDataInto | ( | internal_key_type | , |
const unsigned char * | d, | ||
unsigned | DataLen, | ||
data_type_builder & | Val | ||
) |
Definition at line 1319 of file ASTReader.cpp.
References clang::LocalDeclID::get(), and clang::serialization::reader::LazySpecializationInfoLookupTrait::data_type_builder::insert().
ModuleFile * LazySpecializationInfoLookupTrait::ReadFileRef | ( | const unsigned char *& | d | ) |
Definition at line 1300 of file ASTReader.cpp.
LazySpecializationInfoLookupTrait::internal_key_type LazySpecializationInfoLookupTrait::ReadKey | ( | const unsigned char * | d, |
unsigned | |||
) |
Definition at line 1309 of file ASTReader.cpp.
|
static |
Definition at line 1315 of file ASTReader.cpp.
References readULEBKeyDataLength().
|
static |
Definition at line 131 of file ASTReaderInternals.h.