clang API Documentation
Class that performs lookup for a selector's entries in the global method pool stored in an AST file. More...
#include <ASTReaderInternals.h>
Classes | |
| struct | data_type |
Public Types | |
| typedef Selector | external_key_type |
| typedef external_key_type | internal_key_type |
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 unsigned | 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 138 of file ASTReaderInternals.h.
Definition at line 149 of file ASTReaderInternals.h.
Definition at line 150 of file ASTReaderInternals.h.
| clang::serialization::reader::ASTSelectorLookupTrait::ASTSelectorLookupTrait | ( | ASTReader & | Reader, |
| ModuleFile & | F | ||
| ) | [inline] |
Definition at line 152 of file ASTReaderInternals.h.
| unsigned ASTSelectorLookupTrait::ComputeHash | ( | Selector | Sel | ) | [static] |
Definition at line 420 of file ASTReader.cpp.
References clang::serialization::ComputeHash().
| static bool clang::serialization::reader::ASTSelectorLookupTrait::EqualKey | ( | const internal_key_type & | a, |
| const internal_key_type & | b | ||
| ) | [inline, static] |
Definition at line 155 of file ASTReaderInternals.h.
| static const internal_key_type& clang::serialization::reader::ASTSelectorLookupTrait::GetInternalKey | ( | const external_key_type & | x | ) | [inline, static] |
Definition at line 163 of file ASTReaderInternals.h.
| ASTSelectorLookupTrait::data_type ASTSelectorLookupTrait::ReadData | ( | Selector | , |
| const unsigned char * | d, | ||
| unsigned | DataLen | ||
| ) |
Definition at line 454 of file ASTReader.cpp.
References clang::serialization::reader::ASTSelectorLookupTrait::data_type::ID, clang::io::ReadUnalignedLE16(), and clang::io::ReadUnalignedLE32().
| ASTSelectorLookupTrait::internal_key_type ASTSelectorLookupTrait::ReadKey | ( | const unsigned char * | d, |
| unsigned | |||
| ) |
Definition at line 434 of file ASTReader.cpp.
References Args, clang::io::ReadUnalignedLE16(), and clang::io::ReadUnalignedLE32().
Referenced by clang::ASTReader::DecodeSelector().
| std::pair< unsigned, unsigned > ASTSelectorLookupTrait::ReadKeyDataLength | ( | const unsigned char *& | d | ) | [static] |
Definition at line 426 of file ASTReader.cpp.
References clang::io::ReadUnalignedLE16().