Home
last modified time | relevance | path

Searched refs:FunctionProtoType (Results 1 – 25 of 93) sorted by relevance

1234

/external/clang/lib/Sema/
DSemaExceptionSpec.cpp27 static const FunctionProtoType *GetUnderlyingFunction(QualType T) in GetUnderlyingFunction()
35 return T->getAs<FunctionProtoType>(); in GetUnderlyingFunction()
139 const FunctionProtoType *FnT = T->getAs<FunctionProtoType>(); in CheckDistantExceptionSpec()
146 const FunctionProtoType *
147 Sema::ResolveExceptionSpec(SourceLocation Loc, const FunctionProtoType *FPT) { in ResolveExceptionSpec()
157 const FunctionProtoType *SourceFPT = in ResolveExceptionSpec()
158 SourceDecl->getType()->castAs<FunctionProtoType>(); in ResolveExceptionSpec()
170 const FunctionProtoType *Proto = in ResolveExceptionSpec()
171 SourceDecl->getType()->castAs<FunctionProtoType>(); in ResolveExceptionSpec()
181 const FunctionProtoType::ExceptionSpecInfo &ESI) { in UpdateExceptionSpec()
[all …]
DSemaLambda.cpp367 const FunctionProtoType *FPT = MethodType->castAs<FunctionProtoType>(); in startLambdaDefinition()
830 FunctionProtoType::ExtProtoInfo EPI(Context.getDefaultCallingConvention( in ActOnStartOfLambdaDefinition()
1158 const FunctionProtoType *CallOpProto = in addFunctionPointerConversion()
1159 CallOperator->getType()->getAs<FunctionProtoType>(); in addFunctionPointerConversion()
1160 const FunctionProtoType::ExtProtoInfo CallOpExtInfo = in addFunctionPointerConversion()
1165 FunctionProtoType::ExtProtoInfo InvokerExtInfo = CallOpExtInfo; in addFunctionPointerConversion()
1179 FunctionProtoType::ExtProtoInfo ConvExtInfo( in addFunctionPointerConversion()
1333 const FunctionProtoType *Proto = in addBlockPointerConversion()
1334 CallOperator->getType()->getAs<FunctionProtoType>(); in addBlockPointerConversion()
1339 FunctionProtoType::ExtProtoInfo BlockEPI = Proto->getExtProtoInfo(); in addBlockPointerConversion()
[all …]
DSemaTemplateDeduction.cpp1372 const FunctionProtoType *FunctionProtoArg = in DeduceTemplateArgumentsByTypeMatch()
1373 dyn_cast<FunctionProtoType>(Arg); in DeduceTemplateArgumentsByTypeMatch()
1377 const FunctionProtoType *FunctionProtoParam = in DeduceTemplateArgumentsByTypeMatch()
1378 cast<FunctionProtoType>(Param); in DeduceTemplateArgumentsByTypeMatch()
2556 const FunctionProtoType *Proto in SubstituteExplicitTemplateArguments()
2557 = Function->getType()->getAs<FunctionProtoType>(); in SubstituteExplicitTemplateArguments()
3341 const FunctionProtoType *Proto in DeduceTemplateArguments()
3342 = Function->getType()->getAs<FunctionProtoType>(); in DeduceTemplateArguments()
3518 const FunctionProtoType *FunctionTypeP = in adjustCCAndNoReturn()
3519 FunctionType->castAs<FunctionProtoType>(); in adjustCCAndNoReturn()
[all …]
DSemaDeclCXX.cpp157 const FunctionProtoType *Proto in CalledDecl()
158 = Method->getType()->getAs<FunctionProtoType>(); in CalledDecl()
190 FunctionProtoType::NoexceptResult NR = in CalledDecl()
192 assert(NR != FunctionProtoType::NR_NoNoexcept && in CalledDecl()
194 assert(NR != FunctionProtoType::NR_Dependent && in CalledDecl()
198 if (NR == FunctionProtoType::NR_Throw) { in CalledDecl()
703 OldType->getAs<FunctionProtoType>(), Old->getLocation(), in MergeVarDeclExceptionSpecs()
704 NewType->getAs<FunctionProtoType>(), New->getLocation())) { in MergeVarDeclExceptionSpecs()
767 const FunctionProtoType *FT = FD->getType()->getAs<FunctionProtoType>(); in CheckConstexprParameterTypes()
768 for (FunctionProtoType::param_type_iterator i = FT->param_type_begin(), in CheckConstexprParameterTypes()
[all …]
/external/clang/lib/StaticAnalyzer/Checkers/
DCheckSecuritySyntaxOnly.cpp310 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); in checkCall_gets()
346 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); in checkCall_getpw()
390 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); in checkCall_mktemp()
559 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); in checkCall_strCommon()
593 const FunctionProtoType *FTP = FD->getType()->getAs<FunctionProtoType>(); in checkCall_rand()
636 const FunctionProtoType *FTP = FD->getType()->getAs<FunctionProtoType>(); in checkCall_random()
711 const FunctionProtoType *FTP = FD->getType()->getAs<FunctionProtoType>(); in checkUncheckedReturnValue()
/external/clang/include/clang/CodeGen/
DCGFunctionInfo.h398 static RequiredArgs forPrototypePlus(const FunctionProtoType *prototype, in forPrototypePlus()
410 static RequiredArgs forPrototype(const FunctionProtoType *prototype, in forPrototype()
415 static RequiredArgs forPrototype(CanQual<FunctionProtoType> prototype, in forPrototype()
420 static RequiredArgs forPrototypePlus(CanQual<FunctionProtoType> prototype, in forPrototypePlus()
451 FunctionProtoType::ExtParameterInfo> {
453 typedef FunctionProtoType::ExtParameterInfo ExtParameterInfo;
671 const FunctionProtoType *CalleeProtoTy;
677 CGCalleeInfo(const FunctionProtoType *calleeProtoTy, const Decl *calleeDecl) in CGCalleeInfo()
679 CGCalleeInfo(const FunctionProtoType *calleeProtoTy) in CGCalleeInfo()
684 const FunctionProtoType *getCalleeFunctionProtoType() { in getCalleeFunctionProtoType()
DCodeGenABITypes.h56 CanQual<FunctionProtoType> Ty,
64 const FunctionProtoType *FTP,
/external/clang/lib/CodeGen/
DCodeGenTypes.h41 class FunctionProtoType; variable
265 const CGFunctionInfo &arrangeFreeFunctionType(CanQual<FunctionProtoType> Ty,
294 const FunctionProtoType *type,
309 const FunctionProtoType *type,
315 const FunctionProtoType *FTP,
329 ArrayRef<FunctionProtoType::ExtParameterInfo> paramInfos,
DCodeGenABITypes.cpp38 CanQual<FunctionProtoType> Ty, in arrangeFreeFunctionType()
52 const FunctionProtoType *FTP, in arrangeCXXMethodType()
DCGExprCXX.cpp56 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); in commonEmitCXXMemberOrOperatorCall()
77 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); in EmitCXXMemberOrOperatorCall()
295 const FunctionProtoType *FPT = in EmitCXXMemberPointerCallExpr()
296 MPT->getPointeeType()->castAs<FunctionProtoType>(); in EmitCXXMemberPointerCallExpr()
1114 const FunctionProtoType *CalleeType, in EmitNewDeleteCall()
1145 RValue CodeGenFunction::EmitBuiltinNewDeleteCall(const FunctionProtoType *Type, in EmitBuiltinNewDeleteCall()
1191 const FunctionProtoType *FPT in Emit()
1192 = OperatorDelete->getType()->getAs<FunctionProtoType>(); in Emit()
1199 FunctionProtoType::param_type_iterator AI = FPT->param_type_begin(); in Emit()
1246 const FunctionProtoType *FPT in Emit()
[all …]
DCodeGenTypes.cpp229 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) in isFuncTypeConvertible()
323 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) in ConvertFunctionType()
345 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) { in ConvertFunctionType()
347 CanQual<FunctionProtoType>::CreateUnsafe(QualType(FPT, 0)), FD); in ConvertFunctionType()
DCGCall.cpp77 static CanQual<FunctionProtoType> GetFormalType(const CXXMethodDecl *MD) { in GetFormalType()
79 .getAs<FunctionProtoType>(); in GetFormalType()
106 SmallVectorImpl<FunctionProtoType::ExtParameterInfo> &paramInfos, in appendParameterTypes()
107 CanQual<FunctionProtoType> FPT, in appendParameterTypes()
142 CanQual<FunctionProtoType> FTP, in arrangeLLVMFunctionInfo()
144 SmallVector<FunctionProtoType::ExtParameterInfo, 16> paramInfos; in arrangeLLVMFunctionInfo()
160 CodeGenTypes::arrangeFreeFunctionType(CanQual<FunctionProtoType> FTP, in arrangeFreeFunctionType()
213 const FunctionProtoType *FTP, in arrangeCXXMethodType()
225 FTP->getCanonicalTypeUnqualified().getAs<FunctionProtoType>(), MD); in arrangeCXXMethodType()
237 CanQual<FunctionProtoType> prototype = GetFormalType(MD); in arrangeCXXMethodDeclaration()
[all …]
DCGVTables.cpp148 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); in GenerateVarArgsThunk()
217 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); in StartThunk()
290 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); in EmitCallAndReturnForThunk()
DCGCXXABI.cpp83 const FunctionProtoType *FPT = in EmitLoadOfMemberFunctionPointer()
84 MPT->getPointeeType()->getAs<FunctionProtoType>(); in EmitLoadOfMemberFunctionPointer()
DObjectFilePCHContainerOperations.cpp112 FunctionProtoType::ExtProtoInfo()); in VisitFunctionDecl()
131 FunctionProtoType::ExtProtoInfo()); in VisitObjCMethodDecl()
DCGCUDABuiltin.cpp82 E->getDirectCallee()->getType()->getAs<FunctionProtoType>(), in EmitCUDADevicePrintfCallExpr()
/external/clang/lib/AST/
DItaniumCXXABI.cpp62 const FunctionProtoType *Proto = in getManglingNumber()
63 CallOperator->getType()->getAs<FunctionProtoType>(); in getManglingNumber()
68 FunctionProtoType::ExtProtoInfo()); in getManglingNumber()
70 return ++ManglingNumbers[Key->castAs<FunctionProtoType>()]; in getManglingNumber()
DType.cpp825 QualType VisitFunctionProtoType(const FunctionProtoType *T) { in VisitFunctionProtoType()
845 FunctionProtoType::ExtProtoInfo info = T->getExtProtoInfo(); in VisitFunctionProtoType()
1141 const auto *funcProtoType = cast<FunctionProtoType>(funcType); in substObjCTypeArgs()
1161 FunctionProtoType::ExtProtoInfo info = funcProtoType->getExtProtoInfo(); in substObjCTypeArgs()
2654 FunctionProtoType::FunctionProtoType(QualType result, ArrayRef<QualType> params, in FunctionProtoType() function in FunctionProtoType
2739 bool FunctionProtoType::hasDependentExceptionSpec() const { in hasDependentExceptionSpec()
2751 FunctionProtoType::NoexceptResult
2752 FunctionProtoType::getNoexceptSpec(const ASTContext &ctx) const { in getNoexceptSpec()
2775 bool FunctionProtoType::isNothrow(const ASTContext &Ctx, in isNothrow()
2800 bool FunctionProtoType::isTemplateVariadic() const { in isTemplateVariadic()
[all …]
DMangle.cpp165 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FT); in mangleName()
DMicrosoftMangle.cpp355 void mangleThrowSpecification(const FunctionProtoType *T);
452 const FunctionProtoType *FT = FD->getType()->castAs<FunctionProtoType>(); in mangleFunctionEncoding()
650 mangleCallingConvention(MD->getType()->getAs<FunctionProtoType>()); in mangleVirtualMemPtrThunk()
1774 void MicrosoftCXXNameMangler::mangleType(const FunctionProtoType *T, Qualifiers, in mangleType()
1798 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(T); in mangleFunctionType()
2019 const FunctionProtoType *FT) { in mangleThrowSpecification()
2167 if (const FunctionProtoType *FPT = PointeeType->getAs<FunctionProtoType>()) { in mangleType()
2331 mangleFunctionType(PointeeType->castAs<FunctionProtoType>()); in mangleType()
2578 DeclForFPT->getType()->castAs<FunctionProtoType>(), MD); in mangleThunk()
2593 Mangler.mangleFunctionType(DD->getType()->castAs<FunctionProtoType>(), DD); in mangleCXXDtorThunk()
DASTContext.cpp2234 const FunctionProtoType *FPT = cast<FunctionProtoType>(T); in adjustFunctionType()
2235 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in adjustFunctionType()
2247 const FunctionProtoType *FPT = FD->getType()->castAs<FunctionProtoType>(); in adjustDeducedFunctionResultType()
2248 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo(); in adjustDeducedFunctionResultType()
2265 const FunctionProtoType::ExceptionSpecInfo &ESI) { in getFunctionTypeWithExceptionSpec()
2281 const FunctionProtoType *Proto = cast<FunctionProtoType>(Orig); in getFunctionTypeWithExceptionSpec()
2288 FunctionDecl *FD, const FunctionProtoType::ExceptionSpecInfo &ESI, in adjustExceptionSpec()
3044 const FunctionProtoType::ExtProtoInfo &EPI) const { in getFunctionType()
3050 FunctionProtoType::Profile(ID, ResultTy, ArgArray.begin(), NumArgs, EPI, in getFunctionType()
3054 if (FunctionProtoType *FTP = in getFunctionType()
[all …]
/external/clang/tools/libclang/
DCXType.cpp512 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) in clang_isFunctionTypeVariadic()
558 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) { in clang_getNumArgTypes()
574 if (const FunctionProtoType *FD = T->getAs<FunctionProtoType>()) { in clang_getArgType()
872 const FunctionProtoType *FD = QT->getAs<FunctionProtoType>(); in clang_Type_getCXXRefQualifier()
/external/clang/include/clang/AST/
DCanonicalType.h482 struct CanProxyAdaptor<FunctionProtoType>
483 : public CanProxyBase<FunctionProtoType> {
489 ArrayRef<FunctionProtoType::ExtParameterInfo>, getExtParameterInfos)
497 typedef CanTypeIterator<FunctionProtoType::param_type_iterator>
/external/clang/include/clang/Sema/
DSema.h116 class FunctionProtoType; variable
548 SmallVector<std::pair<CXXMethodDecl*, const FunctionProtoType*>, 2>
1283 const FunctionProtoType::ExtProtoInfo &EPI);
1307 const FunctionProtoType *ResolveExceptionSpec(SourceLocation Loc,
1308 const FunctionProtoType *FPT);
1310 const FunctionProtoType::ExceptionSpecInfo &ESI);
1315 const FunctionProtoType *Old, SourceLocation OldLoc,
1316 const FunctionProtoType *New, SourceLocation NewLoc);
1319 const FunctionProtoType *Old, SourceLocation OldLoc,
1320 const FunctionProtoType *New, SourceLocation NewLoc,
[all …]
/external/clang/lib/Frontend/Rewrite/
DRewriteObjC.cpp485 FunctionProtoType::ExtProtoInfo fpi; in getSimpleFunctionType()
547 if (const FunctionProtoType *fproto in RewriteBlocksInFunctionProtoType()
548 = dyn_cast<FunctionProtoType>(funcType.IgnoreParens())) { in RewriteBlocksInFunctionProtoType()
817 if (const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(FPRetType)){ in RewritePropertyImplDecl()
1143 if (const FunctionProtoType *FT = dyn_cast<FunctionProtoType>(FPRetType)) { in RewriteObjCMethodDecl()
2108 const FunctionProtoType *proto = nullptr; in RewriteObjCQualifiedInterfaceTypes()
2119 proto = dyn_cast<FunctionProtoType>(funcType); in RewriteObjCQualifiedInterfaceTypes()
2289 const FunctionProtoType *proto = dyn_cast<FunctionProtoType>(funcType); in RewriteBlockLiteralFunctionDecl()
3269 const FunctionProtoType *FT = cast<FunctionProtoType>(AFT); in SynthesizeBlockFunc()
3693 const FunctionProtoType *FTP = dyn_cast<FunctionProtoType>(FT); in convertFunctionTypeOfBlocks()
[all …]

1234