clang 22.0.0git
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:
[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

◆ hash_value_type

◆ offset_type

Constructor & Destructor Documentation

◆ ASTDeclContextNameLookupTraitBase()

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

Member Function Documentation

◆ MergeDataInto()

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

◆ ReadDataIntoImpl()

◆ ReadFileRef()

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

Definition at line 1319 of file ASTReader.cpp.

References F, Reader, and ReadFileRef().

Referenced by ReadFileRef().

◆ ReadKeyBase()

◆ ReadKeyDataLength()

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

Definition at line 1328 of file ASTReader.cpp.

References ReadKeyDataLength(), and readULEBKeyDataLength().

Referenced by ReadKeyDataLength().

Member Data Documentation

◆ F

◆ MaxTables

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

Definition at line 49 of file ASTReaderInternals.h.

◆ Reader


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