Searched refs:FnType (Results 1 - 21 of 21) sorted by relevance

/external/libcxxabi/test/
H A Dcatch_member_function_pointer_02.pass.cpp19 template<bool Noexcept> using FnType = void (X::*)() noexcept(Noexcept);
30 catch (FnType<CatchNoexcept> p)
42 FnType<true> p = &X::f<true>;
47 catch (FnType<false> *q)
51 catch (FnType<true> *q)
H A Dcatch_function_03.pass.cpp16 template<bool Noexcept> using FnType = void() noexcept(Noexcept);
27 catch (FnType<CatchNoexcept> *p)
44 catch (FnType<false> **q)
48 catch (FnType<true> **q)
/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 DCGDebugInfo.h190 getOrCreateFunctionType(const Decl *D, QualType FnType, llvm::DIFile *F);
308 SourceLocation ScopeLoc, QualType FnType,
312 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType);
H A DCGExpr.cpp2464 llvm::FunctionType *FnType,
2485 FnType, FnName,
2576 llvm::FunctionType *FnType = local
2582 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind,
2592 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, true,
2595 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, false,
4014 const auto *FnType = local
4023 CGM.GetAddrOfRTTIDescriptor(QualType(FnType, 0), /*ForEH=*/true);
4069 llvm::Metadata *MD = CGM.CreateMetadataIdentifierForType(QualType(FnType, 0));
4080 EmitCheckTypeDescriptor(QualType(FnType,
2463 emitCheckHandlerCall(CodeGenFunction &CGF, llvm::FunctionType *FnType, ArrayRef<llvm::Value *> FnArgs, StringRef CheckName, CheckRecoverableKind RecoverKind, bool IsFatal, llvm::BasicBlock *ContBB) argument
[all...]
H A DCGDebugInfo.cpp2703 QualType FnType = CGM.getContext().getFunctionType( local
2707 getOrCreateFunctionType(FD, FnType, Unit), !FD->isExternallyVisible(),
2799 QualType FnType,
2809 const auto *FTy = FnType->getAs<FunctionType>();
2829 else if (auto *FPT = dyn_cast<FunctionProtoType>(FnType))
2854 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FnType))
2862 return cast<llvm::DISubroutineType>(getOrCreateType(FnType, F));
2866 SourceLocation ScopeLoc, QualType FnType,
2924 getOrCreateFunctionType(D, FnType, Unit), Fn->hasLocalLinkage(),
2942 QualType FnType) {
2798 getOrCreateFunctionType(const Decl *D, QualType FnType, llvm::DIFile *F) argument
2865 EmitFunctionStart(GlobalDecl GD, SourceLocation Loc, SourceLocation ScopeLoc, QualType FnType, llvm::Function *Fn, CGBuilderTy &Builder) argument
2941 EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType) argument
[all...]
H A DCGBlocks.cpp980 QualType FnType = BPT->getPointeeType(); local
983 EmitCallArgs(Args, FnType->getAs<FunctionProtoType>(), E->arguments());
988 const FunctionType *FuncTy = FnType->castAs<FunctionType>();
H A DCodeGenModule.h826 llvm::FunctionType *FnType = nullptr,
H A DCodeGenFunction.cpp789 QualType FnType = getContext().getFunctionType( local
791 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder);
H A DCGClass.cpp1686 llvm::FunctionType *FnType = local
1689 CGF.CGM.CreateRuntimeFunction(FnType, "__sanitizer_dtor_callback");
H A DCodeGenFunction.h2822 RValue EmitCall(QualType FnType, llvm::Value *Callee, const CallExpr *E,
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
H A Dapply.pass.cpp242 using FnType = RawInvokeResult (*) (index<Func>);
243 FnType fn = f;
/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 DSemaOverload.cpp9762 QualType FnType = Cand->Surrogate->getConversionType();
9767 FnType->getAs<LValueReferenceType>()) {
9768 FnType = FnTypeRef->getPointeeType();
9771 FnType->getAs<RValueReferenceType>()) {
9772 FnType = FnTypeRef->getPointeeType();
9775 if (const PointerType *FnTypePtr = FnType->getAs<PointerType>()) {
9776 FnType = FnTypePtr->getPointeeType();
9780 FnType = QualType(FnType->getAs<FunctionType>(), 0);
9782 if (isPointer) FnType
[all...]
H A DSemaLookup.cpp2648 const FunctionType *FnType = cast<FunctionType>(T);
2649 T = FnType->getReturnType().getTypePtr();
H A DSemaExpr.cpp14626 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); local
14645 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FnType);
14686 FnType->getExtInfo());
14797 const FunctionType *FnType = FDT->castAs<FunctionType>(); local
14798 const FunctionProtoType *Proto = dyn_cast_or_null<FunctionProtoType>(FnType);
H A DSemaExprCXX.cpp2430 QualType FnType = Context.getFunctionType( local
2435 FnType, /*TInfo=*/nullptr, SC_None, false, true);
/external/icu/icu4c/source/test/perf/ustrperf/
H A Dstringperf.h61 enum FnType { Fn_ICU, Fn_STD }; enum
62 typedef FnType FnType; typedef
344 FnType fnType_;
/external/llvm/lib/CodeGen/
H A DAtomicExpandPass.cpp1606 FunctionType *FnType = FunctionType::get(ResultTy, ArgTys, false); local
1608 M->getOrInsertFunction(TLI->getLibcallName(RTLibType), FnType, Attr);
/external/clang/lib/AST/
H A DExpr.cpp1287 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); local
1288 return FnType->getReturnType();

Completed in 1253 milliseconds