|
clang
5.0.0
|
Class that performs name lookup into a DeclContext stored in an AST file. More...
Classes | |
| struct | data_type_builder |
Public Types | |
| typedef llvm::SmallVector < DeclID, 4 > | data_type |
| The lookup result is a list of global declaration IDs. More... | |
| typedef unsigned | hash_value_type |
| typedef unsigned | offset_type |
| typedef ModuleFile * | file_type |
| typedef DeclarationName | external_key_type |
| typedef DeclarationNameKey | internal_key_type |
Public Member Functions | |
| ASTDeclContextNameLookupTrait (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 name lookup into a DeclContext stored in an AST file.
Definition at line 39 of file ASTReaderInternals.h.
| typedef llvm::SmallVector<DeclID, 4> clang::serialization::reader::ASTDeclContextNameLookupTrait::data_type |
The lookup result is a list of global declaration IDs.
Definition at line 48 of file ASTReaderInternals.h.
| typedef DeclarationName clang::serialization::reader::ASTDeclContextNameLookupTrait::external_key_type |
Definition at line 77 of file ASTReaderInternals.h.
Definition at line 75 of file ASTReaderInternals.h.
Definition at line 73 of file ASTReaderInternals.h.
| typedef DeclarationNameKey clang::serialization::reader::ASTDeclContextNameLookupTrait::internal_key_type |
Definition at line 78 of file ASTReaderInternals.h.
Definition at line 74 of file ASTReaderInternals.h.
|
inlineexplicit |
Definition at line 80 of file ASTReaderInternals.h.
|
inlinestatic |
Definition at line 87 of file ASTReaderInternals.h.
References clang::serialization::DeclarationNameKey::getHash().
|
inlinestatic |
Definition at line 83 of file ASTReaderInternals.h.
|
inlinestatic |
Definition at line 90 of file ASTReaderInternals.h.
References Name.
|
inlinestatic |
Definition at line 102 of file ASTReaderInternals.h.
References clang::serialization::reader::ASTDeclContextNameLookupTrait::data_type_builder::Data, ID, and clang::serialization::reader::ASTDeclContextNameLookupTrait::data_type_builder::insert().
| void ASTDeclContextNameLookupTrait::ReadDataInto | ( | internal_key_type | , |
| const unsigned char * | d, | ||
| unsigned | DataLen, | ||
| data_type_builder & | Val | ||
| ) |
Definition at line 1077 of file ASTReader.cpp.
References clang::serialization::reader::ASTDeclContextNameLookupTrait::data_type_builder::insert().
| ModuleFile * ASTDeclContextNameLookupTrait::ReadFileRef | ( | const unsigned char *& | d | ) |
Definition at line 1028 of file ASTReader.cpp.
| ASTDeclContextNameLookupTrait::internal_key_type ASTDeclContextNameLookupTrait::ReadKey | ( | const unsigned char * | d, |
| unsigned | |||
| ) |
Definition at line 1043 of file ASTReader.cpp.
References clang::DeclarationName::CXXConstructorName, clang::DeclarationName::CXXConversionFunctionName, clang::DeclarationName::CXXDeductionGuideName, clang::DeclarationName::CXXDestructorName, clang::DeclarationName::CXXLiteralOperatorName, clang::DeclarationName::CXXOperatorName, clang::DeclarationName::CXXUsingDirective, clang::DeclarationName::Identifier, clang::DeclarationName::ObjCMultiArgSelector, clang::DeclarationName::ObjCOneArgSelector, and clang::DeclarationName::ObjCZeroArgSelector.
|
static |
Definition at line 1035 of file ASTReader.cpp.
|
static |
Definition at line 45 of file ASTReaderInternals.h.
1.8.6