clang  6.0.0svn
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 89 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 94 of file ASTBitCodes.h.

Member Function Documentation

◆ asTypeID()

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

Definition at line 98 of file ASTBitCodes.h.

References clang::Qualifiers::FastWidth.

◆ fromTypeID()

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

Definition at line 105 of file ASTBitCodes.h.

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

◆ getIndex()

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

Definition at line 96 of file ASTBitCodes.h.


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