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 |
| typedef const std::pair< const char *, unsigned > | external_key_type |
| typedef external_key_type | internal_key_type |
Public Member Functions | |
| ASTIdentifierLookupTrait (ASTReader &Reader, ModuleFile &F, IdentifierInfo *II=0) | |
| IdentifierInfo * | ReadData (const internal_key_type &k, const unsigned char *d, unsigned DataLen) |
| ASTReader & | getReader () const |
Static Public Member Functions | |
| static bool | EqualKey (const internal_key_type &a, const internal_key_type &b) |
| static unsigned | ComputeHash (const internal_key_type &a) |
| static const internal_key_type & | GetInternalKey (const external_key_type &x) |
| static const external_key_type & | GetExternalKey (const internal_key_type &x) |
| static std::pair< unsigned, unsigned > | ReadKeyDataLength (const unsigned char *&d) |
| static std::pair< const char *, unsigned > | ReadKey (const unsigned char *d, unsigned n) |
Class that performs lookup for an identifier stored in an AST file.
Definition at line 81 of file ASTReaderInternals.h.
Definition at line 91 of file ASTReaderInternals.h.
| typedef const std::pair<const char*, unsigned> clang::serialization::reader::ASTIdentifierLookupTrait::external_key_type |
Definition at line 93 of file ASTReaderInternals.h.
Definition at line 95 of file ASTReaderInternals.h.
| clang::serialization::reader::ASTIdentifierLookupTrait::ASTIdentifierLookupTrait | ( | ASTReader & | Reader, |
| ModuleFile & | F, | ||
| IdentifierInfo * | II = 0 |
||
| ) | [inline] |
Definition at line 97 of file ASTReaderInternals.h.
| unsigned ASTIdentifierLookupTrait::ComputeHash | ( | const internal_key_type & | a | ) | [static] |
Definition at line 481 of file ASTReader.cpp.
| static bool clang::serialization::reader::ASTIdentifierLookupTrait::EqualKey | ( | const internal_key_type & | a, |
| const internal_key_type & | b | ||
| ) | [inline, static] |
Definition at line 101 of file ASTReaderInternals.h.
| static const external_key_type& clang::serialization::reader::ASTIdentifierLookupTrait::GetExternalKey | ( | const internal_key_type & | x | ) | [inline, static] |
Definition at line 115 of file ASTReaderInternals.h.
| static const internal_key_type& clang::serialization::reader::ASTIdentifierLookupTrait::GetInternalKey | ( | const external_key_type & | x | ) | [inline, static] |
Definition at line 111 of file ASTReaderInternals.h.
| ASTReader& clang::serialization::reader::ASTIdentifierLookupTrait::getReader | ( | ) | const [inline] |
Definition at line 127 of file ASTReaderInternals.h.
| IdentifierInfo * ASTIdentifierLookupTrait::ReadData | ( | const internal_key_type & | k, |
| const unsigned char * | d, | ||
| unsigned | DataLen | ||
| ) |
Definition at line 499 of file ASTReader.cpp.
References clang::Module::Hidden, clang::io::ReadUnalignedLE16(), clang::io::ReadUnalignedLE32(), and clang::IdentifierInfo::setIsFromAST().
| std::pair< const char *, unsigned > ASTIdentifierLookupTrait::ReadKey | ( | const unsigned char * | d, |
| unsigned | n | ||
| ) | [static] |
Definition at line 494 of file ASTReader.cpp.
| std::pair< unsigned, unsigned > ASTIdentifierLookupTrait::ReadKeyDataLength | ( | const unsigned char *& | d | ) | [static] |
Definition at line 486 of file ASTReader.cpp.
References clang::io::ReadUnalignedLE16().