clang API Documentation
Class that performs lookup for an identifier stored in an AST file. More...
#include <ASTReaderInternals.h>
Public Types | |
typedef IdentifierInfo * | data_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 |
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.
clang::serialization::reader::ASTIdentifierLookupTrait::ASTIdentifierLookupTrait | ( | ASTReader & | Reader, |
ModuleFile & | F, | ||
IdentifierInfo * | II = nullptr |
||
) | [inline] |
Definition at line 132 of file ASTReaderInternals.h.
ASTReader& clang::serialization::reader::ASTIdentifierLookupTrait::getReader | ( | ) | const [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 707 of file ASTReader.cpp.
References clang::IdentifierInfo::isFromAST(), isInterestingIdentifier(), clang::serialization::MK_ExplicitModule, clang::serialization::MK_ImplicitModule, clang::IdentifierInfo::setChangedSinceDeserialization(), and clang::IdentifierInfo::setIsFromAST().