Searched defs:FnType (Results 1 - 12 of 12) sorted by relevance

/external/clang/test/SemaCXX/
H A Daddr-of-overloaded-function-casting.cpp66 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 DCGCXX.cpp222 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 DCGBlocks.cpp977 QualType FnType = BPT->getPointeeType(); local
980 EmitCallArgs(Args, FnType->getAs<FunctionProtoType>(), E->arguments());
985 const FunctionType *FuncTy = FnType->castAs<FunctionType>();
H A DCodeGenFunction.cpp749 QualType FnType = local
752 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder);
H A DCGClass.cpp1688 llvm::FunctionType *FnType = local
1691 CGF.CGM.CreateRuntimeFunction(FnType, "__sanitizer_dtor_callback");
H A DCGDebugInfo.cpp2508 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 DCGExpr.cpp2399 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 DSemaCoroutine.cpp26 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 DSemaExprCXX.cpp2201 QualType FnType = Context.getFunctionType( local
2206 FnType, /*TInfo=*/nullptr, SC_None, false, true);
H A DSemaExpr.cpp14153 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 Dstringperf.h56 enum FnType { Fn_ICU, Fn_STD }; enum
57 typedef FnType FnType; typedef
339 FnType fnType_;
/external/clang/lib/AST/
H A DExpr.cpp1299 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); local
1300 return FnType->getReturnType();

Completed in 654 milliseconds