clang 22.0.0git
|
Extra information about a function prototype. More...
#include "clang/AST/TypeBase.h"
Public Member Functions | |
ExtProtoInfo () | |
ExtProtoInfo (CallingConv CC) | |
ExtProtoInfo | withExceptionSpec (const ExceptionSpecInfo &ESI) |
ExtProtoInfo | withCFIUncheckedCallee (bool CFIUncheckedCallee) |
bool | requiresFunctionProtoTypeExtraBitfields () const |
bool | requiresFunctionProtoTypeArmAttributes () const |
bool | requiresFunctionProtoTypeExtraAttributeInfo () const |
void | setArmSMEAttribute (AArch64SMETypeAttributes Kind, bool Enable=true) |
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 5349 of file TypeBase.h.
|
inline |
Definition at line 5368 of file TypeBase.h.
References AArch64SMEAttributes, CFIUncheckedCallee, ExtProtoInfo(), false, HasTrailingReturn, clang::FunctionType::SME_NormalFunction, and Variadic.
Referenced by ExtProtoInfo(), withCFIUncheckedCallee(), and withExceptionSpec().
|
inline |
Definition at line 5372 of file TypeBase.h.
References AArch64SMEAttributes, CFIUncheckedCallee, ExtInfo, false, HasTrailingReturn, clang::FunctionType::SME_NormalFunction, and Variadic.
|
inline |
Definition at line 5395 of file TypeBase.h.
References AArch64SMEAttributes, and clang::FunctionType::SME_NormalFunction.
Referenced by requiresFunctionProtoTypeExtraBitfields().
|
inline |
Definition at line 5399 of file TypeBase.h.
References ExtraAttributeInfo.
Referenced by requiresFunctionProtoTypeExtraBitfields().
|
inline |
Definition at line 5388 of file TypeBase.h.
References clang::EST_Dynamic, ExceptionSpec, FunctionEffects, requiresFunctionProtoTypeArmAttributes(), and requiresFunctionProtoTypeExtraAttributeInfo().
|
inline |
Definition at line 5403 of file TypeBase.h.
References AArch64SMEAttributes.
Referenced by handleArmAgnosticAttribute(), handleArmStateAttribute(), and handleFunctionTypeAttr().
|
inline |
Definition at line 5382 of file TypeBase.h.
References CFIUncheckedCallee, ExtProtoInfo(), and clang::Result.
|
inline |
Definition at line 5376 of file TypeBase.h.
References ExtProtoInfo(), and clang::Result.
Referenced by clang::Sema::ActOnFunctionDeclarator().
unsigned clang::FunctionProtoType::ExtProtoInfo::AArch64SMEAttributes |
Definition at line 5366 of file TypeBase.h.
Referenced by clang::Sema::checkCall(), clang::SemaARM::CheckSMEFunctionDefAttributes(), ExtProtoInfo(), ExtProtoInfo(), clang::FunctionProtoType::getExtProtoInfo(), handleArmAgnosticAttribute(), handleArmStateAttribute(), requiresFunctionProtoTypeArmAttributes(), and setArmSMEAttribute().
unsigned clang::FunctionProtoType::ExtProtoInfo::CFIUncheckedCallee |
Definition at line 5364 of file TypeBase.h.
Referenced by ExtProtoInfo(), ExtProtoInfo(), clang::Sema::FindCompositePointerType(), clang::FunctionProtoType::getExtProtoInfo(), clang::Sema::MergeFunctionDecl(), and withCFIUncheckedCallee().
SourceLocation clang::FunctionProtoType::ExtProtoInfo::EllipsisLoc |
Definition at line 5355 of file TypeBase.h.
Referenced by clang::FunctionProtoType::getExtProtoInfo(), and GetFullTypeForDeclarator().
ExceptionSpecInfo clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec |
Definition at line 5353 of file TypeBase.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(), requiresFunctionProtoTypeExtraBitfields(), clang::Sema::SubstExceptionSpec(), clang::TreeTransform< Derived >::TransformFunctionProtoType(), clang::ASTNodeImporter::VisitFunctionDecl(), clang::TextNodeDumper::VisitFunctionDecl(), and clang::JSONNodeDumper::VisitFunctionProtoType().
FunctionType::ExtInfo clang::FunctionProtoType::ExtProtoInfo::ExtInfo |
Definition at line 5350 of file TypeBase.h.
Referenced by clang::Sema::ActOnBlockStmtExpr(), clang::ASTContext::adjustFunctionType(), adjustFunctionTypeForInstantiation(), clang::Sema::BuildFunctionType(), checkExtParameterInfos(), clang::Sema::DeclareGlobalAllocationFunction(), ExtProtoInfo(), 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 5354 of file TypeBase.h.
Referenced by clang::Sema::BuildFunctionType(), checkExtParameterInfos(), getCommonNonSugarTypeNode(), clang::FunctionProtoType::getExtProtoInfo(), GetFullTypeForDeclarator(), clang::ASTContext::getFunctionTypeWithoutParamABIs(), clang::Sema::IsFunctionConversion(), clang::ASTContext::mergeFunctionTypes(), clang::Sema::SubstituteExplicitTemplateArguments(), and clang::TreeTransform< Derived >::TransformFunctionProtoType().
FunctionTypeExtraAttributeInfo clang::FunctionProtoType::ExtProtoInfo::ExtraAttributeInfo |
Definition at line 5357 of file TypeBase.h.
Referenced by clang::FunctionProtoType::getExtProtoInfo(), handleFunctionTypeAttr(), and requiresFunctionProtoTypeExtraAttributeInfo().
FunctionEffectsRef clang::FunctionProtoType::ExtProtoInfo::FunctionEffects |
Definition at line 5356 of file TypeBase.h.
Referenced by clang::Sema::CheckOverridingFunctionAttributes(), clang::FunctionProtoType::getExtProtoInfo(), handleNonBlockingNonAllocatingTypeAttr(), clang::Sema::IsFunctionConversion(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), requiresFunctionProtoTypeExtraBitfields(), and clang::TreeTransform< Derived >::TransformFunctionProtoType().
unsigned clang::FunctionProtoType::ExtProtoInfo::HasTrailingReturn |
Definition at line 5362 of file TypeBase.h.
Referenced by ExtProtoInfo(), ExtProtoInfo(), getCommonNonSugarTypeNode(), getDummyLambdaType(), clang::FunctionProtoType::getExtProtoInfo(), GetFullTypeForDeclarator(), and clang::JSONNodeDumper::VisitFunctionProtoType().
RefQualifierKind clang::FunctionProtoType::ExtProtoInfo::RefQualifier = RQ_None |
Definition at line 5352 of file TypeBase.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 5351 of file TypeBase.h.
Referenced by 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 5360 of file TypeBase.h.
Referenced by clang::Sema::CheckDestructorDeclarator(), ExtProtoInfo(), ExtProtoInfo(), clang::Sema::FindAllocationFunctions(), clang::ASTContext::GetBuiltinType(), getCommonNonSugarTypeNode(), clang::FunctionProtoType::getExtProtoInfo(), GetFullTypeForDeclarator(), GetOpenCLBuiltinFctOverloads(), getTaskloopRegionParams(), getTaskRegionParams(), rewriteBuiltinFunctionDecl(), and clang::JSONNodeDumper::VisitFunctionProtoType().