Searched refs:FPT (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-9.3-release/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCheckSecuritySyntaxOnly.cpp300 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); local
301 if (!FPT)
305 if (FPT->getNumArgs() != 1)
309 const PointerType *PT = FPT->getArgType(0)->getAs<PointerType>();
336 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); local
337 if (!FPT)
341 if (FPT->getNumArgs() != 2)
345 if (!FPT->getArgType(0)->isIntegralOrUnscopedEnumerationType())
349 const PointerType *PT = FPT->getArgType(1)->getAs<PointerType>();
380 const FunctionProtoType *FPT local
549 const FunctionProtoType *FPT = FD->getType()->getAs<FunctionProtoType>(); local
[all...]
/freebsd-9.3-release/lib/libc/stdio/
H A Dprintflocal.h45 #define FPT 0x100 /* Floating point number */ macro
H A Dvfprintf.c729 flags |= FPT;
960 if ((flags & FPT) == 0) {
H A Dvfwprintf.c796 flags |= FPT;
1028 if ((flags & FPT) == 0) {
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTypes.cpp228 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT))
229 for (unsigned i = 0, e = FPT->getNumArgs(); i != e; i++)
230 if (!isFuncTypeArgumentConvertible(FPT->getArgType(i)))
484 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT))
485 for (unsigned i = 0, e = FPT->getNumArgs(); i != e; i++)
486 if (const RecordType *RT = FPT->getArgType(i)->getAs<RecordType>())
509 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) {
511 CanQual<FunctionProtoType>::CreateUnsafe(QualType(FPT, 0)));
H A DCGVTables.cpp179 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); local
180 QualType ResultType = FPT->getResultType();
249 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); local
251 CGM.getCXXABI().HasThisReturn(GD) ? ThisType : FPT->getResultType();
297 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); local
301 CGM.getTypes().arrangeCXXMethodCall(CallArgs, FPT,
302 RequiredArgs::forPrototypePlus(FPT, 1));
319 CGM.getCXXABI().HasThisReturn(GD) ? ThisType : FPT->getResultType();
H A DCGExprCXX.cpp56 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
57 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, Args.size());
60 EmitCallArgs(Args, FPT, ArgBeg, ArgEnd);
62 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required),
242 const FunctionProtoType *FPT = local
273 RequiredArgs required = RequiredArgs::forPrototypePlus(FPT, 1);
276 EmitCallArgs(Args, FPT, E->arg_begin(), E->arg_end());
277 return EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, required),
995 const FunctionProtoType *FPT
997 assert(FPT
[all...]
H A DCGCXXABI.cpp46 const FunctionProtoType *FPT = local
51 CGM.getTypes().arrangeCXXMethodType(RD, FPT));
H A DCGClass.cpp1707 const FunctionProtoType *FPT = D->getType()->getAs<FunctionProtoType>(); local
1716 QualType QT = *(FPT->arg_type_begin());
1724 for (FunctionProtoType::arg_type_iterator I = FPT->arg_type_begin()+1,
1725 E = FPT->arg_type_end(); I != E; ++I, ++Arg) {
1731 assert((Arg == ArgEnd || FPT->isVariadic()) &&
1739 EmitCall(CGM.getTypes().arrangeCXXMethodCall(Args, FPT, RequiredArgs::All),
2128 const FunctionProtoType *FPT = local
2130 QualType resultType = FPT->getResultType();
H A DItaniumCXXABI.cpp309 const FunctionProtoType *FPT = local
316 CGM.getTypes().arrangeCXXMethodType(RD, FPT));
600 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
603 if (Types.isFuncTypeConvertible(FPT)) {
H A DCGCall.cpp390 const FunctionProtoType *FPT,
398 FunctionType::ExtInfo info = FPT->getExtInfo();
399 return arrangeLLVMFunctionInfo(GetReturnType(FPT->getResultType()),
975 const FunctionProtoType *FPT = MD->getType()->getAs<FunctionProtoType>(); local
977 if (!isFuncTypeConvertible(FPT))
1011 const FunctionProtoType *FPT = Fn->getType()->getAs<FunctionProtoType>(); local
1012 if (FPT && FPT->isNothrow(getContext()))
389 arrangeCXXMethodCall(const CallArgList &args, const FunctionProtoType *FPT, RequiredArgs required) argument
H A DMicrosoftCXXABI.cpp1416 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
1419 if (Types.isFuncTypeConvertible(FPT)) {
1896 const FunctionProtoType *FPT = local
1901 CGM.getTypes().arrangeCXXMethodType(RD, FPT));
H A DCGDebugInfo.cpp760 else if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(Ty)) {
761 for (unsigned i = 0, e = FPT->getNumArgs(); i != e; ++i)
762 EltTys.push_back(getOrCreateType(FPT->getArgType(i), Unit));
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/Sema/
H A DSemaExceptionSpec.cpp114 Sema::ResolveExceptionSpec(SourceLocation Loc, const FunctionProtoType *FPT) { argument
115 if (!isUnresolvedExceptionSpec(FPT->getExceptionSpecType()))
116 return FPT;
118 FunctionDecl *SourceDecl = FPT->getExceptionSpecDecl();
H A DSemaLambda.cpp279 const FunctionProtoType *FPT = MethodType->castAs<FunctionProtoType>(); local
280 QualType Result = FPT->getResultType();
283 MethodType = Context.getFunctionType(Result, FPT->getArgTypes(),
284 FPT->getExtProtoInfo());
H A DSema.cpp1262 if (const FunctionProtoType *FPT =
1264 if (FPT->getNumArgs() == 0)
H A DSemaDecl.cpp6759 const FunctionProtoType *FPT = local
6761 QualType Result = SubstAutoType(FPT->getResultType(),
6763 NewFD->setType(Context.getFunctionType(Result, FPT->getArgTypes(),
6764 FPT->getExtProtoInfo()));
6875 const FunctionProtoType *FPT = R->getAs<FunctionProtoType>(); local
6878 getLangOpts().CPlusPlus11 && FPT && !FPT->hasExceptionSpec()) {
6879 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
6881 NewFD->setType(Context.getFunctionType(FPT->getResultType(),
6882 FPT
7496 const FunctionProtoType *FPT = local
[all...]
H A DSemaDeclCXX.cpp4602 updateExceptionSpec(Sema &S, FunctionDecl *FD, const FunctionProtoType *FPT, argument
4604 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
4606 FD->setType(S.Context.getFunctionType(FPT->getResultType(),
4607 FPT->getArgTypes(), EPI));
4626 const FunctionProtoType *FPT = MD->getType()->castAs<FunctionProtoType>(); local
4627 if (FPT->getExceptionSpecType() != EST_Unevaluated)
4635 updateExceptionSpec(*this, MD, FPT, ExceptSpec);
8419 const FunctionProtoType *FPT = DerivedType->castAs<FunctionProtoType>(); local
8420 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
8423 DerivedCtor->setType(Context.getFunctionType(FPT
[all...]
H A DSemaTemplate.cpp6509 const FunctionProtoType *FPT = FT->castAs<FunctionProtoType>(); local
6510 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
6512 FT = Context.getFunctionType(FPT->getResultType(), FPT->getArgTypes(),
/freebsd-9.3-release/contrib/llvm/tools/clang/lib/AST/
H A DType.cpp2205 const FunctionProtoType *FPT = cast<FunctionProtoType>(T); local
2206 CachedProperties result = Cache::get(FPT->getResultType());
2207 for (FunctionProtoType::arg_type_iterator ai = FPT->arg_type_begin(),
2208 ae = FPT->arg_type_end(); ai != ae; ++ai)
2290 const FunctionProtoType *FPT = cast<FunctionProtoType>(T); local
2291 LinkageInfo LV = computeLinkageInfo(FPT->getResultType());
2292 for (FunctionProtoType::arg_type_iterator ai = FPT->arg_type_begin(),
2293 ae = FPT->arg_type_end(); ai != ae; ++ai)
H A DASTContext.cpp2085 const FunctionProtoType *FPT = cast<FunctionProtoType>(T); local
2086 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
2088 Result = getFunctionType(FPT->getResultType(), FPT->getArgTypes(), EPI);
2098 const FunctionProtoType *FPT = FD->getType()->castAs<FunctionProtoType>(); local
2099 FunctionProtoType::ExtProtoInfo EPI = FPT->getExtProtoInfo();
2100 FD->setType(getFunctionType(ResultType, FPT->getArgTypes(), EPI));
5372 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FT)) {
5373 for (FunctionProtoType::arg_type_iterator I = FPT->arg_type_begin(),
5374 E = FPT
[all...]
H A DDecl.cpp2340 const FunctionProtoType *FPT = getType()->castAs<FunctionProtoType>(); local
2341 if (FPT->getNumArgs() > 2 || FPT->isVariadic())
2346 if (FPT->getNumArgs() == 1)
2351 QualType Ty = FPT->getArgType(1);
H A DMicrosoftMangle.cpp1573 if (const FunctionProtoType *FPT = PointeeType->getAs<FunctionProtoType>()) {
1576 mangleFunctionType(FPT, 0, true);
H A DItaniumMangle.cpp2089 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(PointeeType)) {
2090 mangleType(FPT);
/freebsd-9.3-release/contrib/sendmail/libsm/
H A Dvfprintf.c156 #define FPT 0x100 /* Floating point number */ macro

Completed in 1058 milliseconds

12