clang
7.0.0
|
Class that performs lookup for a selector's entries in the global method pool 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 |
Public Types | |
using | external_key_type = Selector |
using | internal_key_type = external_key_type |
using | hash_value_type = unsigned |
using | offset_type = unsigned |
Public Member Functions | |
ASTSelectorLookupTrait (ASTReader &Reader, ModuleFile &F) | |
internal_key_type | ReadKey (const unsigned char *d, unsigned) |
data_type | ReadData (Selector, const unsigned char *d, unsigned DataLen) |
Static Public Member Functions | |
static bool | EqualKey (const internal_key_type &a, const internal_key_type &b) |
static hash_value_type | ComputeHash (Selector Sel) |
static const internal_key_type & | GetInternalKey (const external_key_type &x) |
static std::pair< unsigned, unsigned > | ReadKeyDataLength (const unsigned char *&d) |
Class that performs lookup for a selector's entries in the global method pool stored in an AST file.
Definition at line 192 of file ASTReaderInternals.h.
Definition at line 207 of file ASTReaderInternals.h.
Definition at line 209 of file ASTReaderInternals.h.
Definition at line 208 of file ASTReaderInternals.h.
using clang::serialization::reader::ASTSelectorLookupTrait::offset_type = unsigned |
Definition at line 210 of file ASTReaderInternals.h.
|
inline |
Definition at line 212 of file ASTReaderInternals.h.
|
static |
Definition at line 814 of file ASTReader.cpp.
References clang::serialization::ComputeHash().
|
inlinestatic |
Definition at line 215 of file ASTReaderInternals.h.
References clang::serialization::reader::ASTDeclContextNameLookupTrait::ComputeHash().
|
inlinestatic |
Definition at line 223 of file ASTReaderInternals.h.
References clang::serialization::reader::ASTDeclContextNameLookupTrait::ReadKey(), and clang::serialization::reader::ASTDeclContextNameLookupTrait::ReadKeyDataLength().
ASTSelectorLookupTrait::data_type ASTSelectorLookupTrait::ReadData | ( | Selector | , |
const unsigned char * | d, | ||
unsigned | DataLen | ||
) |
Definition at line 850 of file ASTReader.cpp.
References clang::serialization::reader::ASTSelectorLookupTrait::data_type::FactoryBits, clang::serialization::reader::ASTSelectorLookupTrait::data_type::FactoryHasMoreThanOneDecl, clang::serialization::reader::ASTSelectorLookupTrait::data_type::ID, clang::serialization::reader::ASTSelectorLookupTrait::data_type::InstanceBits, and clang::serialization::reader::ASTSelectorLookupTrait::data_type::InstanceHasMoreThanOneDecl.
ASTSelectorLookupTrait::internal_key_type ASTSelectorLookupTrait::ReadKey | ( | const unsigned char * | d, |
unsigned | |||
) |
Definition at line 828 of file ASTReader.cpp.
References clang::SelectorTable::getNullarySelector(), and clang::SelectorTable::getUnarySelector().
|
static |
Definition at line 819 of file ASTReader.cpp.