Searched refs:FTP (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CheckSecuritySyntaxOnly.cpp | 859 const FunctionProtoType *FTP = FD->getType()->getAs<FunctionProtoType>(); in checkCall_rand() local 860 if (!FTP) in checkCall_rand() 863 if (FTP->getNumParams() == 1) { in checkCall_rand() 866 const PointerType *PT = FTP->getParamType(0)->getAs<PointerType>(); in checkCall_rand() 872 } else if (FTP->getNumParams() != 0) in checkCall_rand() 903 if (!FTP) in checkCall_random() 907 if (FTP->getNumParams() != 0) in checkCall_random() 1026 if (!FTP) in checkUncheckedReturnValue() 1031 if (FTP->getNumParams() != (identifierid < 4 ? 1 : 2)) in checkUncheckedReturnValue() 1035 for (unsigned i = 0; i < FTP->getNumParams(); i++) in checkUncheckedReturnValue() [all …]
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CodeGenABITypes.cpp | 57 const FunctionProtoType *FTP, in arrangeCXXMethodType() argument 59 return CGM.getTypes().arrangeCXXMethodType(RD, FTP, MD); in arrangeCXXMethodType()
|
| H A D | CodeGenTypes.h | 253 const FunctionProtoType *FTP,
|
| H A D | CGCall.cpp | 184 CanQual<FunctionProtoType> FTP) { in arrangeLLVMFunctionInfo() argument 188 appendParameterTypes(CGT, prefix, paramInfos, FTP); in arrangeLLVMFunctionInfo() 193 FTP->getExtInfo(), paramInfos, in arrangeLLVMFunctionInfo() 203 FTP); in arrangeFreeFunctionType() 265 const FunctionProtoType *FTP, in arrangeCXXMethodType() argument 335 CanQual<FunctionProtoType> FTP = GetFormalType(MD); in arrangeCXXStructorDeclaration() local 339 appendParameterTypes(*this, argTypes, paramInfos, FTP); in arrangeCXXStructorDeclaration() 357 FunctionType::ExtInfo extInfo = FTP->getExtInfo(); in arrangeCXXStructorDeclaration() 545 CanQual<FunctionProtoType> FTP = GetFormalType(MD); in arrangeUnprototypedMustTailThunk() local 557 CanQual<FunctionProtoType> FTP = GetFormalType(CD); in arrangeMSCtorClosure() local [all …]
|
| /llvm-project-15.0.7/clang/include/clang/CodeGen/ |
| H A D | CodeGenABITypes.h | 74 const FunctionProtoType *FTP,
|
| /llvm-project-15.0.7/clang/lib/Frontend/Rewrite/ |
| H A D | RewriteObjC.cpp | 3701 if (FTP) { in convertFunctionTypeOfBlocks() 3702 for (auto &I : FTP->param_types()) { in convertFunctionTypeOfBlocks() 3768 if (FTP) { in SynthesizeBlockCall() 3769 for (auto &I : FTP->param_types()) { in SynthesizeBlockCall() 3955 const FunctionProtoType *FTP; in PointerTypeTakesAnyBlockArguments() local 3958 FTP = PT->getPointeeType()->getAs<FunctionProtoType>(); in PointerTypeTakesAnyBlockArguments() 3964 if (FTP) { in PointerTypeTakesAnyBlockArguments() 3965 for (const auto &I : FTP->param_types()) in PointerTypeTakesAnyBlockArguments() 3973 const FunctionProtoType *FTP; in PointerTypeTakesAnyObjCQualifiedType() local 3982 if (FTP) { in PointerTypeTakesAnyObjCQualifiedType() [all …]
|
| H A D | RewriteModernObjC.cpp | 4536 if (FTP) { in convertFunctionTypeOfBlocks() 4537 for (auto &I : FTP->param_types()) { in convertFunctionTypeOfBlocks() 4601 if (FTP) { in SynthesizeBlockCall() 4602 for (auto &I : FTP->param_types()) { in SynthesizeBlockCall() 4802 const FunctionProtoType *FTP; in PointerTypeTakesAnyBlockArguments() local 4805 FTP = PT->getPointeeType()->getAs<FunctionProtoType>(); in PointerTypeTakesAnyBlockArguments() 4811 if (FTP) { in PointerTypeTakesAnyBlockArguments() 4812 for (const auto &I : FTP->param_types()) in PointerTypeTakesAnyBlockArguments() 4820 const FunctionProtoType *FTP; in PointerTypeTakesAnyObjCQualifiedType() local 4829 if (FTP) { in PointerTypeTakesAnyObjCQualifiedType() [all …]
|
| /llvm-project-15.0.7/clang/lib/Analysis/ |
| H A D | RetainSummaryManager.cpp | 796 const FunctionProtoType* FTP = dyn_cast<FunctionProtoType>(FT); in getUnarySummary() local 797 if (!FTP || FTP->getNumParams() != 1) in getUnarySummary()
|
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ASTContext.cpp | 4484 auto *FTP = (FunctionProtoType *)Allocate(Size, TypeAlignment); in getFunctionTypeInternal() local 4486 new (FTP) FunctionProtoType(ResultTy, ArgArray, Canonical, newEPI); in getFunctionTypeInternal() 4487 Types.push_back(FTP); in getFunctionTypeInternal() 4489 FunctionProtoTypes.InsertNode(FTP, InsertPos); in getFunctionTypeInternal() 4490 return QualType(FTP, 0); in getFunctionTypeInternal()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 11707 const FunctionProtoType* FTP = cast<const FunctionProtoType>(FT); in CheckMain() local 11708 unsigned nparams = FTP->getNumParams(); in CheckMain() 11713 if (FTP->isVariadic()) { in CheckMain() 11739 QualType AT = FTP->getParamType(i); in CheckMain()
|