clang  5.0.0
Public Types | Public Member Functions | List of all members
clang::serialization::reader::ASTIdentifierLookupTrait Class Reference

Class that performs lookup for an identifier stored in an AST file. More...

#include "/usr/local/google/work/llvm-www-releases/5.0.0/docsbuild/llvm.src/tools/clang/lib/Serialization/ASTReaderInternals.h"

Inheritance diagram for clang::serialization::reader::ASTIdentifierLookupTrait:
[legend]
Collaboration diagram for clang::serialization::reader::ASTIdentifierLookupTrait:
[legend]

Public Types

typedef IdentifierInfodata_type
 
- Public Types inherited from clang::serialization::reader::ASTIdentifierLookupTraitBase
typedef StringRef external_key_type
 
typedef StringRef internal_key_type
 
typedef unsigned hash_value_type
 
typedef unsigned offset_type
 

Public Member Functions

 ASTIdentifierLookupTrait (ASTReader &Reader, ModuleFile &F, IdentifierInfo *II=nullptr)
 
data_type ReadData (const internal_key_type &k, const unsigned char *d, unsigned DataLen)
 
IdentID ReadIdentifierID (const unsigned char *d)
 
ASTReadergetReader () const
 

Additional Inherited Members

- Static Public Member Functions inherited from clang::serialization::reader::ASTIdentifierLookupTraitBase
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_typeGetInternalKey (const external_key_type &x)
 
static const external_key_typeGetExternalKey (const internal_key_type &x)
 
static internal_key_type ReadKey (const unsigned char *d, unsigned n)
 

Detailed Description

Class that performs lookup for an identifier stored in an AST file.

Definition at line 152 of file ASTReaderInternals.h.

Member Typedef Documentation

Definition at line 162 of file ASTReaderInternals.h.

Constructor & Destructor Documentation

clang::serialization::reader::ASTIdentifierLookupTrait::ASTIdentifierLookupTrait ( ASTReader Reader,
ModuleFile F,
IdentifierInfo II = nullptr 
)
inline

Definition at line 164 of file ASTReaderInternals.h.

Member Function Documentation

ASTReader& clang::serialization::reader::ASTIdentifierLookupTrait::getReader ( ) const
inline

Definition at line 174 of file ASTReaderInternals.h.

IdentifierInfo * ASTIdentifierLookupTrait::ReadData ( const internal_key_type k,
const unsigned char *  d,
unsigned  DataLen 
)

Definition at line 884 of file ASTReader.cpp.

References ID, markIdentifierFromAST(), and readBit().

IdentID ASTIdentifierLookupTrait::ReadIdentifierID ( const unsigned char *  d)

Definition at line 869 of file ASTReader.cpp.

Referenced by clang::ASTReader::ReadAST().


The documentation for this class was generated from the following files: