clang
7.0.0
|
Class that performs name lookup into a DeclContext stored in an AST file. More...
#include "/work/llvm-www-releases/7.0.0/docsbuild/llvm.src/tools/clang/lib/Serialization/ASTReaderInternals.h"
Classes | |
struct | data_type_builder |
Public Types | |
using | data_type = SmallVector< DeclID, 4 > |
The lookup result is a list of global declaration IDs. More... | |
using | hash_value_type = unsigned |
using | offset_type = unsigned |
using | file_type = ModuleFile * |
using | external_key_type = DeclarationName |
using | internal_key_type = DeclarationNameKey |
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 45 of file ASTReaderInternals.h.
using clang::serialization::reader::ASTDeclContextNameLookupTrait::data_type = SmallVector<DeclID, 4> |
The lookup result is a list of global declaration IDs.
Definition at line 54 of file ASTReaderInternals.h.
using clang::serialization::reader::ASTDeclContextNameLookupTrait::external_key_type = DeclarationName |
Definition at line 85 of file ASTReaderInternals.h.
Definition at line 83 of file ASTReaderInternals.h.
Definition at line 81 of file ASTReaderInternals.h.
using clang::serialization::reader::ASTDeclContextNameLookupTrait::internal_key_type = DeclarationNameKey |
Definition at line 86 of file ASTReaderInternals.h.
Definition at line 82 of file ASTReaderInternals.h.
|
inlineexplicit |
Definition at line 88 of file ASTReaderInternals.h.
|
inlinestatic |
Definition at line 95 of file ASTReaderInternals.h.
References clang::serialization::DeclarationNameKey::getHash().
Referenced by clang::serialization::reader::ASTIdentifierLookupTraitBase::EqualKey(), clang::serialization::reader::ASTSelectorLookupTrait::EqualKey(), and clang::serialization::reader::HeaderFileInfoTrait::HeaderFileInfoTrait().
|
inlinestatic |
Definition at line 91 of file ASTReaderInternals.h.
Referenced by clang::serialization::reader::HeaderFileInfoTrait::HeaderFileInfoTrait().
|
inlinestatic |
Definition at line 99 of file ASTReaderInternals.h.
Referenced by clang::serialization::reader::HeaderFileInfoTrait::HeaderFileInfoTrait().
|
inlinestatic |
void ASTDeclContextNameLookupTrait::ReadDataInto | ( | internal_key_type | , |
const unsigned char * | d, | ||
unsigned | DataLen, | ||
data_type_builder & | Val | ||
) |
ModuleFile * ASTDeclContextNameLookupTrait::ReadFileRef | ( | const unsigned char *& | d | ) |
Definition at line 1081 of file ASTReader.cpp.
Referenced by MergeDataInto().
ASTDeclContextNameLookupTrait::internal_key_type ASTDeclContextNameLookupTrait::ReadKey | ( | const unsigned char * | d, |
unsigned | |||
) |
Definition at line 1098 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::serialization::DeclarationNameKey::DeclarationNameKey(), clang::DeclarationName::Identifier, clang::DeclarationName::ObjCMultiArgSelector, clang::DeclarationName::ObjCOneArgSelector, and clang::DeclarationName::ObjCZeroArgSelector.
Referenced by clang::serialization::reader::ASTIdentifierLookupTraitBase::GetExternalKey(), clang::serialization::reader::ASTSelectorLookupTrait::GetInternalKey(), and clang::serialization::reader::HeaderFileInfoTrait::HeaderFileInfoTrait().
|
static |
|
static |
Definition at line 51 of file ASTReaderInternals.h.