clang
3.7.0
|
Class that performs lookup for an identifier stored in an AST file. More...
#include <ASTReaderInternals.h>
Public Types | |
typedef IdentifierInfo * | data_type |
![]() | |
typedef StringRef | external_key_type |
typedef StringRef | internal_key_type |
typedef unsigned | hash_value_type |
typedef unsigned | offset_type |
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) |
ASTReader & | getReader () const |
Additional Inherited Members | |
![]() | |
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 120 of file ASTReaderInternals.h.
Definition at line 130 of file ASTReaderInternals.h.
|
inline |
Definition at line 132 of file ASTReaderInternals.h.
|
inline |
Definition at line 140 of file ASTReaderInternals.h.
IdentifierInfo * ASTIdentifierLookupTrait::ReadData | ( | const internal_key_type & | k, |
const unsigned char * | d, | ||
unsigned | DataLen | ||
) |
Definition at line 747 of file ASTReader.cpp.
References clang::IdentifierInfo::isFromAST(), isInterestingIdentifier(), clang::IdentifierInfo::setChangedSinceDeserialization(), and clang::IdentifierInfo::setIsFromAST().