clang 19.0.0git
Public Member Functions | Static Public Member Functions | List of all members
clang::serialization::TypeIdx Class Reference

A type index; the type ID with the qualifier bits removed. More...

#include "clang/Serialization/ASTBitCodes.h"

Public Member Functions

 TypeIdx ()=default
 
 TypeIdx (uint32_t index)
 
uint32_t getIndex () const
 
TypeID asTypeID (unsigned FastQuals) const
 

Static Public Member Functions

static TypeIdx fromTypeID (TypeID ID)
 

Detailed Description

A type index; the type ID with the qualifier bits removed.

Definition at line 161 of file ASTBitCodes.h.

Constructor & Destructor Documentation

◆ TypeIdx() [1/2]

clang::serialization::TypeIdx::TypeIdx ( )
default

Referenced by fromTypeID().

◆ TypeIdx() [2/2]

clang::serialization::TypeIdx::TypeIdx ( uint32_t  index)
inlineexplicit

Definition at line 166 of file ASTBitCodes.h.

Member Function Documentation

◆ asTypeID()

TypeID clang::serialization::TypeIdx::asTypeID ( unsigned  FastQuals) const
inline

Definition at line 170 of file ASTBitCodes.h.

References clang::Qualifiers::FastWidth.

Referenced by clang::serialization::MakeTypeID().

◆ fromTypeID()

static TypeIdx clang::serialization::TypeIdx::fromTypeID ( TypeID  ID)
inlinestatic

Definition at line 177 of file ASTBitCodes.h.

References clang::Qualifiers::FastWidth, ID, and TypeIdx().

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

◆ getIndex()

uint32_t clang::serialization::TypeIdx::getIndex ( ) const
inline

Definition at line 168 of file ASTBitCodes.h.

Referenced by clang::ASTWriter::GetOrCreateTypeID().


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