clang 20.0.0git
Classes | Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | List of all members
clang::serialization::reader::ASTDeclContextNameLookupTraitBase Class Reference

#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Serialization/ASTReaderInternals.h"

Inheritance diagram for clang::serialization::reader::ASTDeclContextNameLookupTraitBase:
Inheritance graph
[legend]

Classes

struct  data_type_builder
 

Public Types

using data_type = SmallVector< GlobalDeclID, 4 >
 The lookup result is a list of global declaration IDs.
 
using hash_value_type = unsigned
 
using offset_type = unsigned
 
using file_type = ModuleFile *
 

Public Member Functions

void ReadDataIntoImpl (const unsigned char *d, unsigned DataLen, data_type_builder &Val)
 
file_type ReadFileRef (const unsigned char *&d)
 
DeclarationNameKey ReadKeyBase (const unsigned char *&d)
 

Static Public Member Functions

static std::pair< unsigned, unsignedReadKeyDataLength (const unsigned char *&d)
 
static void MergeDataInto (const data_type &From, data_type_builder &To)
 

Static Public Attributes

static const int MaxTables = 4
 

Protected Member Functions

 ASTDeclContextNameLookupTraitBase (ASTReader &Reader, ModuleFile &F)
 

Protected Attributes

ASTReaderReader
 
ModuleFileF
 

Detailed Description

Definition at line 42 of file ASTReaderInternals.h.

Member Typedef Documentation

◆ data_type

The lookup result is a list of global declaration IDs.

Definition at line 52 of file ASTReaderInternals.h.

◆ file_type

Definition at line 81 of file ASTReaderInternals.h.

◆ hash_value_type

Definition at line 79 of file ASTReaderInternals.h.

◆ offset_type

Definition at line 80 of file ASTReaderInternals.h.

Constructor & Destructor Documentation

◆ ASTDeclContextNameLookupTraitBase()

clang::serialization::reader::ASTDeclContextNameLookupTraitBase::ASTDeclContextNameLookupTraitBase ( ASTReader Reader,
ModuleFile F 
)
inlineexplicitprotected

Definition at line 84 of file ASTReaderInternals.h.

Member Function Documentation

◆ MergeDataInto()

static void clang::serialization::reader::ASTDeclContextNameLookupTraitBase::MergeDataInto ( const data_type From,
data_type_builder To 
)
inlinestatic

◆ ReadDataIntoImpl()

void ASTDeclContextNameLookupTraitBase::ReadDataIntoImpl ( const unsigned char *  d,
unsigned  DataLen,
data_type_builder Val 
)

◆ ReadFileRef()

ModuleFile * ASTDeclContextNameLookupTraitBase::ReadFileRef ( const unsigned char *&  d)

Definition at line 1238 of file ASTReader.cpp.

◆ ReadKeyBase()

DeclarationNameKey ASTDeclContextNameLookupTraitBase::ReadKeyBase ( const unsigned char *&  d)

◆ ReadKeyDataLength()

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

Definition at line 1247 of file ASTReader.cpp.

References readULEBKeyDataLength().

Member Data Documentation

◆ F

ModuleFile& clang::serialization::reader::ASTDeclContextNameLookupTraitBase::F
protected

Definition at line 45 of file ASTReaderInternals.h.

◆ MaxTables

const int clang::serialization::reader::ASTDeclContextNameLookupTraitBase::MaxTables = 4
static

Definition at line 49 of file ASTReaderInternals.h.

◆ Reader

ASTReader& clang::serialization::reader::ASTDeclContextNameLookupTraitBase::Reader
protected

Definition at line 44 of file ASTReaderInternals.h.


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