Home
last modified time | relevance | path

Searched refs:FnType (Results 1 – 24 of 24) sorted by relevance

/external/libcxxabi/test/
Dcatch_member_function_pointer_02.pass.cpp23 template<bool Noexcept> using FnType = void (X::*)() noexcept(Noexcept); typedef
34 catch (FnType<CatchNoexcept> p) in check()
46 FnType<true> p = &X::f<true>; in check_deep()
51 catch (FnType<false> *q) in check_deep()
55 catch (FnType<true> *q) in check_deep()
Dcatch_function_03.pass.cpp16 template<bool Noexcept> using FnType = void() noexcept(Noexcept); typedef
27 catch (FnType<CatchNoexcept> *p) in check()
44 catch (FnType<false> **q) in check_deep()
48 catch (FnType<true> **q) in check_deep()
/external/clang/test/SemaCXX/
Daddr-of-overloaded-function-casting.cpp66 typedef void (FnType)(int); in main() typedef
67 FnType a = static_cast<FnType>(f); // expected-error{{address of overloaded function}} in main()
68 FnType b = (FnType)(f); // expected-error{{address of overloaded function}} in main()
/external/libcxx/test/libcxx/utilities/memory/util.smartptr/util.smartptr.shared/
Dfunction_type_default_deleter.fail.cpp11 using FnType = void(Tag<ID>); typedef
17 FnType<ID>* getFn() { in getFn()
42 SPtr<5> s5(getFn<5>(), std::default_delete<FnType<5>>{}); // expected-note {{requested here}} in main()
/external/clang/lib/CodeGen/
DCGCXX.cpp244 llvm::FunctionType *FnType, bool DontDefer, bool IsForDefinition) { in getAddrOfCXXStructor() argument
252 if (!FnType) { in getAddrOfCXXStructor()
255 FnType = getTypes().GetFunctionType(*FnInfo); in getAddrOfCXXStructor()
259 getMangledName(GD), FnType, GD, /*ForVTable=*/false, DontDefer, in getAddrOfCXXStructor()
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);
DCGExpr.cpp2464 llvm::FunctionType *FnType, in emitCheckHandlerCall() argument
2485 FnType, FnName, in emitCheckHandlerCall()
2576 llvm::FunctionType *FnType = in EmitCheck() local
2582 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, in EmitCheck()
2592 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, true, in EmitCheck()
2595 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, false, in EmitCheck()
4014 const auto *FnType = in EmitCall() local
4023 CGM.GetAddrOfRTTIDescriptor(QualType(FnType, 0), /*ForEH=*/true); in EmitCall()
4069 llvm::Metadata *MD = CGM.CreateMetadataIdentifierForType(QualType(FnType, 0)); in EmitCall()
4080 EmitCheckTypeDescriptor(QualType(FnType, 0)), in EmitCall()
[all …]
DCGDebugInfo.cpp2703 QualType FnType = CGM.getContext().getFunctionType( in getFunctionForwardDeclaration() local
2707 getOrCreateFunctionType(FD, FnType, Unit), !FD->isExternallyVisible(), in getFunctionForwardDeclaration()
2799 QualType FnType, in getOrCreateFunctionType() argument
2809 const auto *FTy = FnType->getAs<FunctionType>(); in getOrCreateFunctionType()
2829 else if (auto *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType()
2854 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType()
2862 return cast<llvm::DISubroutineType>(getOrCreateType(FnType, F)); in getOrCreateFunctionType()
2866 SourceLocation ScopeLoc, QualType FnType, in EmitFunctionStart() argument
2924 getOrCreateFunctionType(D, FnType, Unit), Fn->hasLocalLinkage(), in EmitFunctionStart()
2942 QualType FnType) { in EmitFunctionDecl() argument
[all …]
DCGBlocks.cpp980 QualType FnType = BPT->getPointeeType(); in EmitBlockCallExpr() local
983 EmitCallArgs(Args, FnType->getAs<FunctionProtoType>(), E->arguments()); in EmitBlockCallExpr()
988 const FunctionType *FuncTy = FnType->castAs<FunctionType>(); in EmitBlockCallExpr()
DCodeGenFunction.cpp789 QualType FnType = getContext().getFunctionType( in StartFunction() local
791 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); in StartFunction()
DCodeGenModule.h826 llvm::FunctionType *FnType = nullptr,
DCGClass.cpp1686 llvm::FunctionType *FnType = in EmitSanitizerDtorCallback() local
1689 CGF.CGM.CreateRuntimeFunction(FnType, "__sanitizer_dtor_callback"); in EmitSanitizerDtorCallback()
DCodeGenFunction.h2822 RValue EmitCall(QualType FnType, llvm::Value *Callee, const CallExpr *E,
/external/clang/lib/Sema/
DSemaCoroutine.cpp26 static QualType lookupPromiseType(Sema &S, const FunctionProtoType *FnType, in lookupPromiseType() argument
54 TemplateArgument(FnType->getReturnType()), in lookupPromiseType()
55 S.Context.getTrivialTypeSourceInfo(FnType->getReturnType(), Loc))); in lookupPromiseType()
58 for (QualType T : FnType->getParamTypes()) in lookupPromiseType()
DSemaOverload.cpp9762 QualType FnType = Cand->Surrogate->getConversionType(); in NoteSurrogateCandidate() local
9767 FnType->getAs<LValueReferenceType>()) { in NoteSurrogateCandidate()
9768 FnType = FnTypeRef->getPointeeType(); in NoteSurrogateCandidate()
9771 FnType->getAs<RValueReferenceType>()) { in NoteSurrogateCandidate()
9772 FnType = FnTypeRef->getPointeeType(); in NoteSurrogateCandidate()
9775 if (const PointerType *FnTypePtr = FnType->getAs<PointerType>()) { in NoteSurrogateCandidate()
9776 FnType = FnTypePtr->getPointeeType(); in NoteSurrogateCandidate()
9780 FnType = QualType(FnType->getAs<FunctionType>(), 0); in NoteSurrogateCandidate()
9782 if (isPointer) FnType = S.Context.getPointerType(FnType); in NoteSurrogateCandidate()
9783 if (isRValueReference) FnType = S.Context.getRValueReferenceType(FnType); in NoteSurrogateCandidate()
[all …]
DSemaLookup.cpp2648 const FunctionType *FnType = cast<FunctionType>(T); in addAssociatedClassesAndNamespaces() local
2649 T = FnType->getReturnType().getTypePtr(); in addAssociatedClassesAndNamespaces()
DSemaExpr.cpp14626 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr() local
14645 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FnType); in VisitCallExpr()
14686 FnType->getExtInfo()); in VisitCallExpr()
14797 const FunctionType *FnType = FDT->castAs<FunctionType>(); in resolveDecl() local
14798 const FunctionProtoType *Proto = dyn_cast_or_null<FunctionProtoType>(FnType); in resolveDecl()
DSemaExprCXX.cpp2430 QualType FnType = Context.getFunctionType( in DeclareGlobalAllocationFunction() local
2435 FnType, /*TInfo=*/nullptr, SC_None, false, true); in DeclareGlobalAllocationFunction()
/external/icu/icu4c/source/test/perf/ustrperf/
Dstringperf.h61 enum FnType { Fn_ICU, Fn_STD }; enum
62 typedef FnType FnType; typedef
344 FnType fnType_;
/external/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.apply/
Dapply.pass.cpp242 using FnType = RawInvokeResult (*) (index<Func>); in test() typedef
243 FnType fn = f; in test()
/external/tensorflow/tensorflow/compiler/xla/
Dshape_util.h565 template <typename FnType>
570 const FnType& visitor_function) { in ForEachIndex()
Dliteral_util.h563 template <typename NativeT, typename FnType>
564 Status Populate(const FnType& generator);
1251 template <typename NativeT, typename FnType>
1252 Status Literal::Populate(const FnType& generator) { in Populate()
/external/llvm/lib/CodeGen/
DAtomicExpandPass.cpp1606 FunctionType *FnType = FunctionType::get(ResultTy, ArgTys, false); in expandAtomicOpToLibcall() local
1608 M->getOrInsertFunction(TLI->getLibcallName(RTLibType), FnType, Attr); in expandAtomicOpToLibcall()
/external/clang/lib/AST/
DExpr.cpp1287 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType() local
1288 return FnType->getReturnType(); in getCallReturnType()