/external/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 27 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 …]
|
D | SemaLambda.cpp | 367 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 …]
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 27 static const FunctionProtoType *GetUnderlyingFunction(QualType T) in GetUnderlyingFunction() 35 return T->getAs<FunctionProtoType>(); in GetUnderlyingFunction() 195 const FunctionProtoType *FnT = T->getAs<FunctionProtoType>(); in CheckDistantExceptionSpec() 202 const FunctionProtoType * 203 Sema::ResolveExceptionSpec(SourceLocation Loc, const FunctionProtoType *FPT) { in ResolveExceptionSpec() 213 const FunctionProtoType *SourceFPT = in ResolveExceptionSpec() 214 SourceDecl->getType()->castAs<FunctionProtoType>(); in ResolveExceptionSpec() 226 const FunctionProtoType *Proto = in ResolveExceptionSpec() 227 SourceDecl->getType()->castAs<FunctionProtoType>(); in ResolveExceptionSpec() 237 const FunctionProtoType::ExceptionSpecInfo &ESI) { in UpdateExceptionSpec() [all …]
|
D | SemaLambda.cpp | 373 const FunctionProtoType *FPT = MethodType->castAs<FunctionProtoType>(); in startLambdaDefinition() 922 FunctionProtoType::ExtProtoInfo EPI(Context.getDefaultCallingConvention( in ActOnStartOfLambdaDefinition() 1270 Sema &S, const FunctionProtoType &CallOpProto, Func F) { in repeatForLambdaConversionFunctionCallingConvs() 1318 const FunctionProtoType *CallOpProto) { in getLambdaConversionFunctionCallConv() 1333 const FunctionProtoType *CallOpProto, CallingConv CC) { in getLambdaConversionFunctionResultType() 1334 const FunctionProtoType::ExtProtoInfo CallOpExtInfo = in getLambdaConversionFunctionResultType() 1336 FunctionProtoType::ExtProtoInfo InvokerExtInfo = CallOpExtInfo; in getLambdaConversionFunctionResultType() 1363 FunctionProtoType::ExtProtoInfo ConvExtInfo( in addFunctionPointerConversion() 1513 const FunctionProtoType *CallOpProto = in addFunctionPointerConversions() 1514 CallOperator->getType()->castAs<FunctionProtoType>(); in addFunctionPointerConversions() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckSecuritySyntaxOnly.cpp | 353 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); in checkCall_bcmp() 395 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); in checkCall_bcopy() 438 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); in checkCall_bzero() 480 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); in checkCall_gets() 516 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); in checkCall_getpw() 560 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); in checkCall_mktemp() 826 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); in checkCall_strCommon() 860 const FunctionProtoType *FTP = FD->getType()->getAs<FunctionProtoType>(); in checkCall_rand() 903 const FunctionProtoType *FTP = FD->getType()->getAs<FunctionProtoType>(); in checkCall_random() 1026 const FunctionProtoType *FTP = FD->getType()->getAs<FunctionProtoType>(); in checkUncheckedReturnValue()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CheckSecuritySyntaxOnly.cpp | 310 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/llvm-project/clang/lib/CodeGen/ |
D | CodeGenTypes.h | 38 class FunctionProtoType; variable 205 const CGFunctionInfo &arrangeFreeFunctionType(CanQual<FunctionProtoType> Ty); 233 const FunctionProtoType *type, 249 const FunctionProtoType *type, 257 const FunctionProtoType *FTP, 271 ArrayRef<FunctionProtoType::ExtParameterInfo> paramInfos,
|
D | CGCall.h | 47 const FunctionProtoType *CalleeProtoTy; 53 CGCalleeInfo(const FunctionProtoType *calleeProtoTy, GlobalDecl calleeDecl) in CGCalleeInfo() 55 CGCalleeInfo(const FunctionProtoType *calleeProtoTy) in CGCalleeInfo() 60 const FunctionProtoType *getCalleeFunctionProtoType() const { in getCalleeFunctionProtoType()
|
D | CodeGenABITypes.cpp | 44 CanQual<FunctionProtoType> Ty) { in arrangeFreeFunctionType() 57 const FunctionProtoType *FTP, in arrangeCXXMethodType()
|
D | CGGPUBuiltin.cpp | 81 E->getDirectCallee()->getType()->getAs<FunctionProtoType>(), in EmitNVPTXDevicePrintfCallExpr() 135 E->getDirectCallee()->getType()->getAs<FunctionProtoType>(), in EmitAMDGPUDevicePrintfCallExpr()
|
D | CodeGenTypes.cpp | 244 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) in isFuncTypeConvertible() 339 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) in ConvertFunctionTypeInternal() 361 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) { in ConvertFunctionTypeInternal() 363 CanQual<FunctionProtoType>::CreateUnsafe(QualType(FPT, 0))); in ConvertFunctionTypeInternal()
|
/external/llvm-project/clang/include/clang/AST/ |
D | AbstractBasicReader.h | 187 FunctionProtoType::ExceptionSpecInfo 189 FunctionProtoType::ExceptionSpecInfo esi; in readExceptionSpecInfo() 204 FunctionProtoType::ExtParameterInfo readExtParameterInfo() { in readExtParameterInfo() 205 static_assert(sizeof(FunctionProtoType::ExtParameterInfo().getOpaqueValue()) in readExtParameterInfo() 209 return FunctionProtoType::ExtParameterInfo::getFromOpaqueValue(value); in readExtParameterInfo()
|
D | AbstractBasicWriter.h | 173 const FunctionProtoType::ExceptionSpecInfo &esi) { in writeExceptionSpecInfo() 187 void writeExtParameterInfo(FunctionProtoType::ExtParameterInfo epi) { in writeExtParameterInfo()
|
/external/clang/lib/CodeGen/ |
D | CodeGenTypes.h | 41 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,
|
D | CodeGenABITypes.cpp | 38 CanQual<FunctionProtoType> Ty, in arrangeFreeFunctionType() 52 const FunctionProtoType *FTP, in arrangeCXXMethodType()
|
D | CodeGenTypes.cpp | 229 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()
|
D | CGExprCXX.cpp | 56 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 …]
|
/external/clang/include/clang/CodeGen/ |
D | CGFunctionInfo.h | 398 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()
|
D | CodeGenABITypes.h | 56 CanQual<FunctionProtoType> Ty, 64 const FunctionProtoType *FTP,
|
/external/clang/lib/AST/ |
D | ItaniumCXXABI.cpp | 62 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()
|
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/ |
D | UseNoexceptCheck.cpp | 55 const FunctionProtoType *FnTy = nullptr; in check() 61 FnTy = FuncDecl->getType()->getAs<FunctionProtoType>(); in check() 70 ->getAs<FunctionProtoType>(); in check()
|
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
D | NameSearchContext.cpp | 88 const FunctionProtoType *func_proto_type = in AddFunDecl() 89 qual_type.getTypePtr()->getAs<FunctionProtoType>(); in AddFunDecl() 131 FunctionProtoType::ExtProtoInfo proto_info; in AddGenericFunDecl()
|
/external/llvm-project/clang/include/clang/CodeGen/ |
D | CGFunctionInfo.h | 478 static RequiredArgs forPrototypePlus(const FunctionProtoType *prototype, in forPrototypePlus() 485 [](const FunctionProtoType::ExtParameterInfo &ExtInfo) { in forPrototypePlus() 492 static RequiredArgs forPrototypePlus(CanQual<FunctionProtoType> prototype, in forPrototypePlus() 497 static RequiredArgs forPrototype(const FunctionProtoType *prototype) { in forPrototype() 501 static RequiredArgs forPrototype(CanQual<FunctionProtoType> prototype) { in forPrototype() 530 FunctionProtoType::ExtParameterInfo> { 532 typedef FunctionProtoType::ExtParameterInfo ExtParameterInfo;
|
D | CodeGenABITypes.h | 75 CanQual<FunctionProtoType> Ty); 82 const FunctionProtoType *FTP,
|
/external/clang/tools/libclang/ |
D | CXType.cpp | 512 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()
|