clang 20.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) |
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 5113 of file Type.h.
References clang::FunctionEffectsRef::empty(), clang::EST_Dynamic, and clang::FunctionProtoType::ExceptionSpecInfo::Type.
|
inline |
Definition at line 5123 of file Type.h.
References Kind.
Referenced by handleArmStateAttribute(), and handleFunctionTypeAttr().
|
inline |
Definition at line 5107 of file Type.h.
Referenced by clang::Sema::ActOnFunctionDeclarator().
unsigned clang::FunctionProtoType::ExtProtoInfo::AArch64SMEAttributes |
Definition at line 5091 of file Type.h.
Referenced by clang::Sema::checkCall(), clang::Sema::CheckFunctionDeclaration(), clang::FunctionProtoType::getExtProtoInfo(), and handleArmStateAttribute().
SourceLocation clang::FunctionProtoType::ExtProtoInfo::EllipsisLoc |
Definition at line 5096 of file Type.h.
Referenced by clang::FunctionProtoType::getExtProtoInfo(), and GetFullTypeForDeclarator().
ExceptionSpecInfo clang::FunctionProtoType::ExtProtoInfo::ExceptionSpec |
Definition at line 5094 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(), and clang::ASTNodeImporter::VisitFunctionDecl().
FunctionType::ExtInfo clang::FunctionProtoType::ExtProtoInfo::ExtInfo |
Definition at line 5088 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 5095 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().
FunctionEffectsRef clang::FunctionProtoType::ExtProtoInfo::FunctionEffects |
Definition at line 5097 of file Type.h.
Referenced by clang::Sema::CheckOverridingFunctionAttributes(), clang::FunctionProtoType::getExtProtoInfo(), handleNonBlockingNonAllocatingTypeAttr(), clang::Sema::IsFunctionConversion(), clang::Sema::MergeFunctionDecl(), clang::ASTContext::mergeFunctionTypes(), and clang::TreeTransform< Derived >::TransformFunctionProtoType().
unsigned clang::FunctionProtoType::ExtProtoInfo::HasTrailingReturn |
Definition at line 5090 of file Type.h.
Referenced by clang::Sema::ActOnBlockArguments(), getCommonNonSugarTypeNode(), getDummyLambdaType(), clang::FunctionProtoType::getExtProtoInfo(), and GetFullTypeForDeclarator().
RefQualifierKind clang::FunctionProtoType::ExtProtoInfo::RefQualifier = RQ_None |
Definition at line 5093 of file Type.h.
Referenced by clang::Sema::CheckConstructorDeclarator(), clang::Sema::CheckExplicitlyDefaultedComparison(), getCommonNonSugarTypeNode(), clang::FunctionProtoType::getExtProtoInfo(), GetFullTypeForDeclarator(), and clang::Sema::getLambdaConversionFunctionResultType().
Qualifiers clang::FunctionProtoType::ExtProtoInfo::TypeQuals |
Definition at line 5092 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 5089 of file Type.h.
Referenced by clang::Sema::CheckDestructorDeclarator(), clang::Sema::FindAllocationFunctions(), clang::ASTContext::GetBuiltinType(), getCommonNonSugarTypeNode(), clang::FunctionProtoType::getExtProtoInfo(), GetFullTypeForDeclarator(), GetOpenCLBuiltinFctOverloads(), getTaskloopRegionParams(), getTaskRegionParams(), rewriteBuiltinFunctionDecl(), and clang::TextNodeDumper::VisitFunctionProtoType().