clang 22.0.0git
clang::FunctionType::FunctionTypeExtraBitfields Struct Reference

A simple holder for various uncommon bits which do not fit in FunctionTypeBitfields. More...

#include "clang/AST/TypeBase.h"

Public Member Functions

 FunctionTypeExtraBitfields ()

Public Attributes

unsigned NumExceptionType: 10
 The number of types in the exception specification.
unsigned HasExtraAttributeInfo: 1
unsigned HasArmTypeAttributes: 1
unsigned EffectsHaveConditions: 1
unsigned NumFunctionEffects: 4

Detailed Description

A simple holder for various uncommon bits which do not fit in FunctionTypeBitfields.

Aligned to alignof(void *) to maintain the alignment of subsequent objects in TrailingObjects.

Definition at line 4700 of file TypeBase.h.

Constructor & Destructor Documentation

◆ FunctionTypeExtraBitfields()

clang::FunctionType::FunctionTypeExtraBitfields::FunctionTypeExtraBitfields ( )
inline

Member Data Documentation

◆ EffectsHaveConditions

unsigned clang::FunctionType::FunctionTypeExtraBitfields::EffectsHaveConditions

Definition at line 4713 of file TypeBase.h.

Referenced by FunctionTypeExtraBitfields().

◆ HasArmTypeAttributes

unsigned clang::FunctionType::FunctionTypeExtraBitfields::HasArmTypeAttributes

Definition at line 4710 of file TypeBase.h.

Referenced by FunctionTypeExtraBitfields().

◆ HasExtraAttributeInfo

unsigned clang::FunctionType::FunctionTypeExtraBitfields::HasExtraAttributeInfo

Definition at line 4707 of file TypeBase.h.

Referenced by FunctionTypeExtraBitfields().

◆ NumExceptionType

unsigned clang::FunctionType::FunctionTypeExtraBitfields::NumExceptionType

The number of types in the exception specification.

A whole unsigned is not needed here and according to [implimits] 8 bits would be enough here.

Definition at line 4704 of file TypeBase.h.

Referenced by FunctionTypeExtraBitfields().

◆ NumFunctionEffects

unsigned clang::FunctionType::FunctionTypeExtraBitfields::NumFunctionEffects

Definition at line 4714 of file TypeBase.h.

Referenced by FunctionTypeExtraBitfields().


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