clang API Documentation
Base class for the trait describing the on-disk hash table for the identifiers in an AST file. More...
#include <ASTReaderInternals.h>
Public Types | |
typedef StringRef | external_key_type |
typedef StringRef | internal_key_type |
typedef unsigned | hash_value_type |
typedef unsigned | offset_type |
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 &a) |
static std::pair< unsigned, unsigned > | ReadKeyDataLength (const unsigned char *&d) |
static const internal_key_type & | GetInternalKey (const external_key_type &x) |
static const external_key_type & | GetExternalKey (const internal_key_type &x) |
static internal_key_type | ReadKey (const unsigned char *d, unsigned n) |
Base class for the trait describing the on-disk hash table for the identifiers in an AST file.
This class is not useful by itself; rather, it provides common functionality for accessing the on-disk hash table of identifiers in an AST file. Different subclasses customize that functionality based on what information they are interested in. Those subclasses must provide the data_type
typedef and the ReadData operation, only.
Definition at line 92 of file ASTReaderInternals.h.
Definition at line 94 of file ASTReaderInternals.h.
Definition at line 96 of file ASTReaderInternals.h.
Definition at line 95 of file ASTReaderInternals.h.
Definition at line 97 of file ASTReaderInternals.h.
unsigned ASTIdentifierLookupTraitBase::ComputeHash | ( | const internal_key_type & | a | ) | [static] |
Definition at line 679 of file ASTReader.cpp.
static bool clang::serialization::reader::ASTIdentifierLookupTraitBase::EqualKey | ( | const internal_key_type & | a, |
const internal_key_type & | b | ||
) | [inline, static] |
Definition at line 99 of file ASTReaderInternals.h.
static const external_key_type& clang::serialization::reader::ASTIdentifierLookupTraitBase::GetExternalKey | ( | const internal_key_type & | x | ) | [inline, static] |
Definition at line 114 of file ASTReaderInternals.h.
static const internal_key_type& clang::serialization::reader::ASTIdentifierLookupTraitBase::GetInternalKey | ( | const external_key_type & | x | ) | [inline, static] |
Definition at line 110 of file ASTReaderInternals.h.
ASTIdentifierLookupTraitBase::internal_key_type ASTIdentifierLookupTraitBase::ReadKey | ( | const unsigned char * | d, |
unsigned | n | ||
) | [static] |
Definition at line 692 of file ASTReader.cpp.
std::pair< unsigned, unsigned > ASTIdentifierLookupTraitBase::ReadKeyDataLength | ( | const unsigned char *& | d | ) | [static] |
Definition at line 684 of file ASTReader.cpp.