clang
10.0.0git
|
Base class for the trait describing the on-disk hash table for the identifiers in an AST file. More...
#include "/work/www-prereleases/10.0.0/rc2/docsbuild/clang/lib/Serialization/ASTReaderInternals.h"
Public Types | |
using | external_key_type = StringRef |
using | internal_key_type = StringRef |
using | hash_value_type = unsigned |
using | offset_type = unsigned |
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
type and the ReadData operation, only.
Definition at line 131 of file ASTReaderInternals.h.
Definition at line 133 of file ASTReaderInternals.h.
Definition at line 135 of file ASTReaderInternals.h.
Definition at line 134 of file ASTReaderInternals.h.
Definition at line 136 of file ASTReaderInternals.h.
|
static |
Definition at line 887 of file ASTReader.cpp.
|
inlinestatic |
Definition at line 138 of file ASTReaderInternals.h.
References clang::serialization::reader::ASTDeclContextNameLookupTrait::ComputeHash(), and clang::serialization::reader::ASTDeclContextNameLookupTrait::ReadKeyDataLength().
|
inlinestatic |
Definition at line 153 of file ASTReaderInternals.h.
References clang::serialization::reader::ASTDeclContextNameLookupTrait::ReadKey().
|
inlinestatic |
Definition at line 149 of file ASTReaderInternals.h.
|
static |
Definition at line 901 of file ASTReader.cpp.
|
static |
Definition at line 892 of file ASTReader.cpp.