clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::FunctionType::FunctionTypeExtraBitfields Struct Reference

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

#include "clang/AST/Type.h"

Public Member Functions

 FunctionTypeExtraBitfields ()
 

Public Attributes

unsigned NumExceptionType: 10
 The number of types in the exception specification.
 
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 4551 of file Type.h.

Constructor & Destructor Documentation

◆ FunctionTypeExtraBitfields()

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

Definition at line 4564 of file Type.h.

Member Data Documentation

◆ EffectsHaveConditions

unsigned clang::FunctionType::FunctionTypeExtraBitfields::EffectsHaveConditions

Definition at line 4561 of file Type.h.

◆ HasArmTypeAttributes

unsigned clang::FunctionType::FunctionTypeExtraBitfields::HasArmTypeAttributes

Definition at line 4558 of file Type.h.

◆ 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 4555 of file Type.h.

◆ NumFunctionEffects

unsigned clang::FunctionType::FunctionTypeExtraBitfields::NumFunctionEffects

Definition at line 4562 of file Type.h.


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