/external/clang/test/SemaCXX/ |
H A D | addr-of-overloaded-function-casting.cpp | 66 typedef void (FnType)(int); typedef 67 FnType a = static_cast<FnType>(f); // expected-error{{address of overloaded function}} 68 FnType b = (FnType)(f); // expected-error{{address of overloaded function}}
|
/external/clang/lib/CodeGen/ |
H A D | CGCXX.cpp | 222 getAddrOfCXXStructor(MD, Type, &FnInfo, /*FnType=*/nullptr, 244 llvm::FunctionType *FnType, bool DontDefer, bool IsForDefinition) { 252 if (!FnType) { 255 FnType = getTypes().GetFunctionType(*FnInfo); 259 getMangledName(GD), FnType, GD, /*ForVTable=*/false, DontDefer, 242 getAddrOfCXXStructor( const CXXMethodDecl *MD, StructorType Type, const CGFunctionInfo *FnInfo, llvm::FunctionType *FnType, bool DontDefer, bool IsForDefinition) argument
|
H A D | CGBlocks.cpp | 977 QualType FnType = BPT->getPointeeType(); local 980 EmitCallArgs(Args, FnType->getAs<FunctionProtoType>(), E->arguments()); 985 const FunctionType *FuncTy = FnType->castAs<FunctionType>();
|
H A D | CodeGenFunction.cpp | 749 QualType FnType = local 752 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder);
|
H A D | CGClass.cpp | 1688 llvm::FunctionType *FnType = local 1691 CGF.CGM.CreateRuntimeFunction(FnType, "__sanitizer_dtor_callback");
|
H A D | CGDebugInfo.cpp | 2508 QualType FnType = local 2513 getOrCreateFunctionType(FD, FnType, Unit), !FD->isExternallyVisible(), 2605 QualType FnType, 2631 else if (auto *FPT = dyn_cast<FunctionProtoType>(FnType)) 2656 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FnType)) 2664 return cast<llvm::DISubroutineType>(getOrCreateType(FnType, F)); 2668 SourceLocation ScopeLoc, QualType FnType, 2726 getOrCreateFunctionType(D, FnType, Unit), Fn->hasInternalLinkage(), 2744 QualType FnType) { 2779 getOrCreateFunctionType(D, FnType, Uni 2604 getOrCreateFunctionType(const Decl *D, QualType FnType, llvm::DIFile *F) argument 2667 EmitFunctionStart(GlobalDecl GD, SourceLocation Loc, SourceLocation ScopeLoc, QualType FnType, llvm::Function *Fn, CGBuilderTy &Builder) argument 2743 EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType) argument [all...] |
H A D | CGExpr.cpp | 2399 llvm::FunctionType *FnType, 2420 FnType, FnName, 2509 llvm::FunctionType *FnType = local 2515 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, 2525 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, true, 2528 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, false, 3800 const auto *FnType = local 3809 CGM.GetAddrOfRTTIDescriptor(QualType(FnType, 0), /*ForEH=*/true); 3854 llvm::Metadata *MD = CGM.CreateMetadataIdentifierForType(QualType(FnType, 0)); 3868 EmitCheckTypeDescriptor(QualType(FnType, 2398 emitCheckHandlerCall(CodeGenFunction &CGF, llvm::FunctionType *FnType, ArrayRef<llvm::Value *> FnArgs, StringRef CheckName, CheckRecoverableKind RecoverKind, bool IsFatal, llvm::BasicBlock *ContBB) argument [all...] |
/external/clang/lib/Sema/ |
H A D | SemaCoroutine.cpp | 26 static QualType lookupPromiseType(Sema &S, const FunctionProtoType *FnType, argument 54 TemplateArgument(FnType->getReturnType()), 55 S.Context.getTrivialTypeSourceInfo(FnType->getReturnType(), Loc))); 58 for (QualType T : FnType->getParamTypes())
|
H A D | SemaExprCXX.cpp | 2201 QualType FnType = Context.getFunctionType( local 2206 FnType, /*TInfo=*/nullptr, SC_None, false, true);
|
H A D | SemaExpr.cpp | 14153 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); local 14172 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FnType); 14213 FnType->getExtInfo()); 14324 const FunctionType *FnType = FDT->castAs<FunctionType>(); local 14325 const FunctionProtoType *Proto = dyn_cast_or_null<FunctionProtoType>(FnType);
|
/external/icu/icu4c/source/test/perf/ustrperf/ |
H A D | stringperf.h | 56 enum FnType { Fn_ICU, Fn_STD }; enum 57 typedef FnType FnType; typedef 339 FnType fnType_;
|
/external/clang/lib/AST/ |
H A D | Expr.cpp | 1299 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); local 1300 return FnType->getReturnType();
|