clang 20.0.0git
Public Member Functions | Public Attributes | List of all members
clang::FunctionProtoType::ExtProtoInfo Struct Reference

Extra information about a function prototype. More...

#include "clang/AST/Type.h"

Public Member Functions

 ExtProtoInfo ()
 
 ExtProtoInfo (CallingConv CC)
 
ExtProtoInfo withExceptionSpec (const ExceptionSpecInfo &ESI)
 
bool requiresFunctionProtoTypeExtraBitfields () const
 
bool requiresFunctionProtoTypeArmAttributes () const
 
void setArmSMEAttribute (AArch64SMETypeAttributes Kind, bool Enable=true)
 

Public Attributes

FunctionType::ExtInfo ExtInfo
 
unsigned Variadic: 1
 
unsigned HasTrailingReturn: 1
 
unsigned AArch64SMEAttributes: 8
 
Qualifiers TypeQuals
 
RefQualifierKind RefQualifier = RQ_None
 
ExceptionSpecInfo ExceptionSpec
 
const ExtParameterInfoExtParameterInfos = nullptr
 
SourceLocation EllipsisLoc
 
FunctionEffectsRef FunctionEffects
 

Detailed Description

Extra information about a function prototype.

ExtProtoInfo is not stored as such in FunctionProtoType but is used to group together the various bits of extra information about a function prototype.

Definition at line 5087 of file Type.h.

Constructor & Destructor Documentation

◆ ExtProtoInfo() [1/2]

clang::FunctionProtoType::ExtProtoInfo::ExtProtoInfo ( )
inline

Definition at line 5099 of file Type.h.

◆ ExtProtoInfo() [2/2]

clang::FunctionProtoType::ExtProtoInfo::ExtProtoInfo ( CallingConv  CC)
inline

Definition at line 5103 of file Type.h.

Member Function Documentation

◆ requiresFunctionProtoTypeArmAttributes()

bool clang::FunctionProtoType::ExtProtoInfo::requiresFunctionProtoTypeArmAttributes ( ) const
inline

Definition at line 5119 of file Type.h.

◆ requiresFunctionProtoTypeExtraBitfields()

bool clang::FunctionProtoType::ExtProtoInfo::requiresFunctionProtoTypeExtraBitfields ( ) const
inline

◆ setArmSMEAttribute()

void clang::FunctionProtoType::ExtProtoInfo::setArmSMEAttribute ( AArch64SMETypeAttributes  Kind,
bool  Enable = true 
)
inline

Definition at line 5123 of file Type.h.

References Kind.

Referenced by handleArmStateAttribute(), and handleFunctionTypeAttr().

◆ withExceptionSpec()

ExtProtoInfo clang::FunctionProtoType::ExtProtoInfo::withExceptionSpec ( const ExceptionSpecInfo ESI)
inline

Definition at line 5107 of file Type.h.

Referenced by clang::Sema::ActOnFunctionDeclarator().

Member Data Documentation

◆ AArch64SMEAttributes

unsigned clang::FunctionProtoType::ExtProtoInfo::AArch64SMEAttributes

◆ EllipsisLoc

SourceLocation clang::FunctionProtoType::ExtProtoInfo::EllipsisLoc

Definition at line 5096 of file Type.h.

Referenced by clang::FunctionProtoType::getExtProtoInfo(), and GetFullTypeForDeclarator().

◆ ExceptionSpec

ExceptionSpecInfo clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec

◆ ExtInfo

FunctionType::ExtInfo clang::FunctionProtoType::ExtProtoInfo::ExtInfo

◆ ExtParameterInfos

const ExtParameterInfo* clang::FunctionProtoType::ExtProtoInfo::ExtParameterInfos = nullptr

◆ FunctionEffects

FunctionEffectsRef clang::FunctionProtoType::ExtProtoInfo::FunctionEffects

◆ HasTrailingReturn

unsigned clang::FunctionProtoType::ExtProtoInfo::HasTrailingReturn

◆ RefQualifier

RefQualifierKind clang::FunctionProtoType::ExtProtoInfo::RefQualifier = RQ_None

◆ TypeQuals

Qualifiers clang::FunctionProtoType::ExtProtoInfo::TypeQuals

◆ Variadic

unsigned clang::FunctionProtoType::ExtProtoInfo::Variadic

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