clang  16.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"

Collaboration diagram for clang::FunctionProtoType::ExtProtoInfo:
Collaboration graph

Public Member Functions

 ExtProtoInfo ()
 ExtProtoInfo (CallingConv CC)
ExtProtoInfo withExceptionSpec (const ExceptionSpecInfo &ESI)
bool requiresFunctionProtoTypeExtraBitfields () const

Public Attributes

FunctionType::ExtInfo ExtInfo
bool Variadic: 1
bool HasTrailingReturn: 1
Qualifiers TypeQuals
RefQualifierKind RefQualifier = RQ_None
ExceptionSpecInfo ExceptionSpec
const ExtParameterInfoExtParameterInfos = nullptr
SourceLocation EllipsisLoc

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

Constructor & Destructor Documentation

◆ ExtProtoInfo() [1/2]

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

Definition at line 4109 of file Type.h.

◆ ExtProtoInfo() [2/2]

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

Definition at line 4111 of file Type.h.

Member Function Documentation

◆ requiresFunctionProtoTypeExtraBitfields()

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

◆ withExceptionSpec()

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

Definition at line 4114 of file Type.h.

Member Data Documentation

◆ EllipsisLoc

SourceLocation clang::FunctionProtoType::ExtProtoInfo::EllipsisLoc

Definition at line 4107 of file Type.h.

Referenced by clang::FunctionProtoType::getExtProtoInfo().

◆ ExceptionSpec

ExceptionSpecInfo clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec

◆ ExtInfo

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

◆ ExtParameterInfos

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

◆ HasTrailingReturn

bool clang::FunctionProtoType::ExtProtoInfo::HasTrailingReturn

◆ RefQualifier

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

◆ TypeQuals

Qualifiers clang::FunctionProtoType::ExtProtoInfo::TypeQuals

◆ Variadic

bool clang::FunctionProtoType::ExtProtoInfo::Variadic

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