clang 20.0.0git
|
Class that performs lookup for an identifier stored in an AST file. More...
Public Types | |
using | data_type = IdentifierInfo * |
Public Types inherited from clang::serialization::reader::ASTIdentifierLookupTraitBase | |
using | external_key_type = StringRef |
using | internal_key_type = StringRef |
using | hash_value_type = unsigned |
using | offset_type = unsigned |
Public Member Functions | |
ASTIdentifierLookupTrait (ASTReader &Reader, ModuleFile &F, IdentifierInfo *II=nullptr) | |
data_type | ReadData (const internal_key_type &k, const unsigned char *d, unsigned DataLen) |
IdentifierID | ReadIdentifierID (const unsigned char *d) |
ASTReader & | getReader () const |
Additional Inherited Members | |
Static Public Member Functions inherited from clang::serialization::reader::ASTIdentifierLookupTraitBase | |
static bool | EqualKey (const internal_key_type &a, const internal_key_type &b) |
static hash_value_type | ComputeHash (const internal_key_type &a) |
static std::pair< unsigned, unsigned > | ReadKeyDataLength (const unsigned char *&d) |
static const internal_key_type & | GetInternalKey (const external_key_type &x) |
static const external_key_type & | GetExternalKey (const internal_key_type &x) |
static internal_key_type | ReadKey (const unsigned char *d, unsigned n) |
Class that performs lookup for an identifier stored in an AST file.
Definition at line 158 of file ASTReaderInternals.h.
Definition at line 168 of file ASTReaderInternals.h.
|
inline |
Definition at line 170 of file ASTReaderInternals.h.
|
inline |
Definition at line 180 of file ASTReaderInternals.h.
IdentifierInfo * ASTIdentifierLookupTrait::ReadData | ( | const internal_key_type & | k, |
const unsigned char * | d, | ||
unsigned | DataLen | ||
) |
Definition at line 1089 of file ASTReader.cpp.
References clang::LocalDeclID::get(), clang::IdentifierInfo::getTokenID(), clang::IdentifierInfo::isCPlusPlusOperatorKeyword(), clang::IdentifierInfo::isExtensionToken(), markIdentifierFromAST(), readBit(), clang::IdentifierInfo::revertTokenIDToIdentifier(), clang::IdentifierInfo::setIsPoisoned(), and clang::IdentifierInfo::setObjCOrBuiltinID().
IdentifierID ASTIdentifierLookupTrait::ReadIdentifierID | ( | const unsigned char * | d | ) |
Definition at line 1072 of file ASTReader.cpp.
Referenced by clang::ASTReader::ReadAST().