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 84 of file ASTBitCodes.h.

Constructor & Destructor Documentation

◆ TypeIdx() [1/2]

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

Referenced by fromTypeID().

◆ TypeIdx() [2/2]

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

Definition at line 89 of file ASTBitCodes.h.

Member Function Documentation

◆ asTypeID()

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

Definition at line 93 of file ASTBitCodes.h.

References clang::Qualifiers::FastWidth.

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

◆ fromTypeID()

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

Definition at line 100 of file ASTBitCodes.h.

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

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

◆ getIndex()

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

Definition at line 91 of file ASTBitCodes.h.

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

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