Home
last modified time | relevance | path

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

123456789

/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 …]
/external/llvm-project/clang/lib/Sema/
DSemaExceptionSpec.cpp27 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 …]
DSemaLambda.cpp373 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/
DCheckSecuritySyntaxOnly.cpp353 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/
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/llvm-project/clang/lib/CodeGen/
DCodeGenTypes.h38 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,
DCGCall.h47 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()
DCodeGenABITypes.cpp44 CanQual<FunctionProtoType> Ty) { in arrangeFreeFunctionType()
57 const FunctionProtoType *FTP, in arrangeCXXMethodType()
DCGGPUBuiltin.cpp81 E->getDirectCallee()->getType()->getAs<FunctionProtoType>(), in EmitNVPTXDevicePrintfCallExpr()
135 E->getDirectCallee()->getType()->getAs<FunctionProtoType>(), in EmitAMDGPUDevicePrintfCallExpr()
DCodeGenTypes.cpp244 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/
DAbstractBasicReader.h187 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()
DAbstractBasicWriter.h173 const FunctionProtoType::ExceptionSpecInfo &esi) { in writeExceptionSpecInfo()
187 void writeExtParameterInfo(FunctionProtoType::ExtParameterInfo epi) { in writeExtParameterInfo()
/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()
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()
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 …]
/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/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()
/external/llvm-project/clang-tools-extra/clang-tidy/modernize/
DUseNoexceptCheck.cpp55 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/
DNameSearchContext.cpp88 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/
DCGFunctionInfo.h478 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;
DCodeGenABITypes.h75 CanQual<FunctionProtoType> Ty);
82 const FunctionProtoType *FTP,
/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()

123456789