clang 19.0.0git
|
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 ExtParameterInfo * | ExtParameterInfos = nullptr |
SourceLocation | EllipsisLoc |
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.
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 4520 of file Type.h.
References clang::EST_Dynamic, and clang::FunctionProtoType::ExceptionSpecInfo::Type.
|
inline |
Definition at line 4529 of file Type.h.
Referenced by handleArmStateAttribute(), and handleFunctionTypeAttr().
|
inline |
Definition at line 4514 of file Type.h.
Referenced by clang::Sema::ActOnFunctionDeclarator().
unsigned clang::FunctionProtoType::ExtProtoInfo::AArch64SMEAttributes |
Definition at line 4499 of file Type.h.
Referenced by clang::Sema::CheckFunctionDeclaration(), clang::FunctionProtoType::getExtProtoInfo(), and handleArmStateAttribute().
SourceLocation clang::FunctionProtoType::ExtProtoInfo::EllipsisLoc |
Definition at line 4504 of file Type.h.
Referenced by clang::FunctionProtoType::getExtProtoInfo(), and GetFullTypeForDeclarator().
ExceptionSpecInfo clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec |
Definition at line 4502 of file Type.h.
Referenced by addFunctionPointerConversion(), clang::Sema::AdjustDestructorExceptionSpec(), clang::Sema::CheckExplicitlyDefaultedComparison(), clang::Sema::CheckExplicitlyDefaultedSpecialMember(), clang::Sema::DeclareGlobalAllocationFunction(), clang::Sema::FindCompositePointerType(), clang::Sema::findInheritingConstructor(), clang::ASTReader::FinishedDeserializing(), clang::ASTContext::GetBuiltinType(), getCommonNonSugarTypeNode(), clang::FunctionProtoType::getExtProtoInfo(), GetFullTypeForDeclarator(), getImplicitMethodEPI(), clang::TemplateDeclInstantiator::InitFunctionInstantiation(), LookupDirect(), clang::Sema::SubstExceptionSpec(), clang::TreeTransform< Derived >::TransformFunctionProtoType(), clang::TextNodeDumper::VisitFunctionDecl(), clang::ASTNodeImporter::VisitFunctionDecl(), and clang::JSONNodeDumper::VisitFunctionProtoType().
FunctionType::ExtInfo clang::FunctionProtoType::ExtProtoInfo::ExtInfo |
Definition at line 4496 of file Type.h.
Referenced by clang::Sema::ActOnBlockStmtExpr(), clang::Sema::adjustCCAndNoReturn(), clang::ASTContext::adjustFunctionType(), adjustFunctionTypeForInstantiation(), clang::Sema::BuildFunctionType(), checkExtParameterInfos(), clang::Sema::FindCompositePointerType(), clang::ASTContext::GetBuiltinType(), getCommonNonSugarTypeNode(), clang::FunctionProtoType::getExtProtoInfo(), GetFullTypeForDeclarator(), getImplicitMethodEPI(), clang::Sema::getLambdaConversionFunctionResultType(), LookupDirect(), clang::ASTContext::mergeFunctionTypes(), and clang::ASTContext::mergeObjCGCQualifiers().
const ExtParameterInfo* clang::FunctionProtoType::ExtProtoInfo::ExtParameterInfos = nullptr |
Definition at line 4503 of file Type.h.
Referenced by clang::Sema::BuildFunctionType(), checkExtParameterInfos(), getCommonNonSugarTypeNode(), clang::FunctionProtoType::getExtProtoInfo(), GetFullTypeForDeclarator(), clang::Sema::IsFunctionConversion(), clang::ASTContext::mergeFunctionTypes(), clang::Sema::SubstituteExplicitTemplateArguments(), and clang::TreeTransform< Derived >::TransformFunctionProtoType().
unsigned clang::FunctionProtoType::ExtProtoInfo::HasTrailingReturn |
Definition at line 4498 of file Type.h.
Referenced by clang::Sema::ActOnBlockArguments(), getCommonNonSugarTypeNode(), getDummyLambdaType(), clang::FunctionProtoType::getExtProtoInfo(), GetFullTypeForDeclarator(), and clang::JSONNodeDumper::VisitFunctionProtoType().
RefQualifierKind clang::FunctionProtoType::ExtProtoInfo::RefQualifier = RQ_None |
Definition at line 4501 of file Type.h.
Referenced by clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckExplicitlyDefaultedComparison(), getCommonNonSugarTypeNode(), clang::FunctionProtoType::getExtProtoInfo(), GetFullTypeForDeclarator(), clang::Sema::getLambdaConversionFunctionResultType(), and clang::JSONNodeDumper::VisitFunctionProtoType().
Qualifiers clang::FunctionProtoType::ExtProtoInfo::TypeQuals |
Definition at line 4500 of file Type.h.
Referenced by clang::Sema::ActOnBlockArguments(), clang::Sema::ActOnBlockStmtExpr(), addBlockPointerConversion(), addFunctionPointerConversion(), clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckExplicitlyDefaultedComparison(), clang::Sema::CheckFunctionDeclaration(), clang::Sema::CheckFunctionTemplateSpecialization(), getCommonNonSugarTypeNode(), getDummyLambdaType(), clang::FunctionProtoType::getExtProtoInfo(), GetFullTypeForDeclarator(), and clang::Sema::getLambdaConversionFunctionResultType().
unsigned clang::FunctionProtoType::ExtProtoInfo::Variadic |
Definition at line 4497 of file Type.h.
Referenced by clang::Sema::ActOnOpenMPRegionStart(), clang::Sema::CheckDestructorDeclarator(), clang::Sema::FindAllocationFunctions(), clang::ASTContext::GetBuiltinType(), getCommonNonSugarTypeNode(), clang::FunctionProtoType::getExtProtoInfo(), GetFullTypeForDeclarator(), GetOpenCLBuiltinFctOverloads(), rewriteBuiltinFunctionDecl(), clang::JSONNodeDumper::VisitFunctionProtoType(), and clang::TextNodeDumper::VisitFunctionProtoType().