clang
10.0.0git
|
Class that performs lookup for a selector's entries in the global method pool stored in an AST file. More...
#include "/work/www-prereleases/10.0.0/rc2/docsbuild/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 191 of file ASTReaderInternals.h.
Definition at line 206 of file ASTReaderInternals.h.
Definition at line 208 of file ASTReaderInternals.h.
Definition at line 207 of file ASTReaderInternals.h.
using clang::serialization::reader::ASTSelectorLookupTrait::offset_type = unsigned |
Definition at line 209 of file ASTReaderInternals.h.
|
inline |
Definition at line 211 of file ASTReaderInternals.h.
|
static |
Definition at line 817 of file ASTReader.cpp.
References clang::serialization::ComputeHash().
|
inlinestatic |
Definition at line 214 of file ASTReaderInternals.h.
References clang::serialization::reader::ASTDeclContextNameLookupTrait::ComputeHash().
|
inlinestatic |
Definition at line 222 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 853 of file ASTReader.cpp.
References clang::serialization::reader::ASTSelectorLookupTrait::data_type::Factory, 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::Instance, 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 831 of file ASTReader.cpp.
References clang::SelectorTable::getNullarySelector(), clang::SelectorTable::getSelector(), and clang::SelectorTable::getUnarySelector().
Referenced by clang::ASTReader::DecodeSelector().
|
static |
Definition at line 822 of file ASTReader.cpp.