/external/libcxxabi/test/ |
D | catch_member_function_pointer_02.pass.cpp | 23 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()
|
D | catch_function_03.pass.cpp | 16 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/ |
D | addr-of-overloaded-function-casting.cpp | 66 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/ |
D | function_type_default_deleter.fail.cpp | 11 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/ |
D | CGCXX.cpp | 244 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()
|
D | CGDebugInfo.h | 190 getOrCreateFunctionType(const Decl *D, QualType FnType, llvm::DIFile *F); 308 SourceLocation ScopeLoc, QualType FnType, 312 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType);
|
D | CGExpr.cpp | 2464 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 …]
|
D | CGDebugInfo.cpp | 2703 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 …]
|
D | CGBlocks.cpp | 980 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()
|
D | CodeGenFunction.cpp | 789 QualType FnType = getContext().getFunctionType( in StartFunction() local 791 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); in StartFunction()
|
D | CodeGenModule.h | 826 llvm::FunctionType *FnType = nullptr,
|
D | CGClass.cpp | 1686 llvm::FunctionType *FnType = in EmitSanitizerDtorCallback() local 1689 CGF.CGM.CreateRuntimeFunction(FnType, "__sanitizer_dtor_callback"); in EmitSanitizerDtorCallback()
|
D | CodeGenFunction.h | 2822 RValue EmitCall(QualType FnType, llvm::Value *Callee, const CallExpr *E,
|
/external/clang/lib/Sema/ |
D | SemaCoroutine.cpp | 26 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()
|
D | SemaOverload.cpp | 9762 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 …]
|
D | SemaLookup.cpp | 2648 const FunctionType *FnType = cast<FunctionType>(T); in addAssociatedClassesAndNamespaces() local 2649 T = FnType->getReturnType().getTypePtr(); in addAssociatedClassesAndNamespaces()
|
D | SemaExpr.cpp | 14626 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()
|
D | SemaExprCXX.cpp | 2430 QualType FnType = Context.getFunctionType( in DeclareGlobalAllocationFunction() local 2435 FnType, /*TInfo=*/nullptr, SC_None, false, true); in DeclareGlobalAllocationFunction()
|
/external/icu/icu4c/source/test/perf/ustrperf/ |
D | stringperf.h | 61 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/ |
D | apply.pass.cpp | 242 using FnType = RawInvokeResult (*) (index<Func>); in test() typedef 243 FnType fn = f; in test()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | shape_util.h | 565 template <typename FnType> 570 const FnType& visitor_function) { in ForEachIndex()
|
D | literal_util.h | 563 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/ |
D | AtomicExpandPass.cpp | 1606 FunctionType *FnType = FunctionType::get(ResultTy, ArgTys, false); in expandAtomicOpToLibcall() local 1608 M->getOrInsertFunction(TLI->getLibcallName(RTLibType), FnType, Attr); in expandAtomicOpToLibcall()
|
/external/clang/lib/AST/ |
D | Expr.cpp | 1287 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType() local 1288 return FnType->getReturnType(); in getCallReturnType()
|