clang  6.0.0svn
Classes | Public Types | Public Member Functions | Static Public Member Functions | List of all members
clang::serialization::reader::ASTSelectorLookupTrait Class Reference

Class that performs lookup for a selector's entries in the global method pool stored in an AST file. More...

#include "/opt/doxygen-docs/src/llvm/tools/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_typeGetInternalKey (const external_key_type &x)
 
static std::pair< unsigned, unsigned > ReadKeyDataLength (const unsigned char *&d)
 

Detailed Description

Class that performs lookup for a selector's entries in the global method pool stored in an AST file.

Definition at line 192 of file ASTReaderInternals.h.

Member Typedef Documentation

◆ external_key_type

Definition at line 207 of file ASTReaderInternals.h.

◆ hash_value_type

Definition at line 209 of file ASTReaderInternals.h.

◆ internal_key_type

Definition at line 208 of file ASTReaderInternals.h.

◆ offset_type

Definition at line 210 of file ASTReaderInternals.h.

Constructor & Destructor Documentation

◆ ASTSelectorLookupTrait()

clang::serialization::reader::ASTSelectorLookupTrait::ASTSelectorLookupTrait ( ASTReader Reader,
ModuleFile F 
)
inline

Definition at line 212 of file ASTReaderInternals.h.

Member Function Documentation

◆ ComputeHash()

unsigned ASTSelectorLookupTrait::ComputeHash ( Selector  Sel)
static

Definition at line 802 of file ASTReader.cpp.

References clang::serialization::ComputeHash().

◆ EqualKey()

static bool clang::serialization::reader::ASTSelectorLookupTrait::EqualKey ( const internal_key_type a,
const internal_key_type b 
)
inlinestatic

◆ GetInternalKey()

static const internal_key_type& clang::serialization::reader::ASTSelectorLookupTrait::GetInternalKey ( const external_key_type x)
inlinestatic

◆ ReadData()

ASTSelectorLookupTrait::data_type ASTSelectorLookupTrait::ReadData ( Selector  ,
const unsigned char *  d,
unsigned  DataLen 
)

◆ ReadKey()

ASTSelectorLookupTrait::internal_key_type ASTSelectorLookupTrait::ReadKey ( const unsigned char *  d,
unsigned   
)

◆ ReadKeyDataLength()

std::pair< unsigned, unsigned > ASTSelectorLookupTrait::ReadKeyDataLength ( const unsigned char *&  d)
static

Definition at line 807 of file ASTReader.cpp.


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