/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/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 | 196 getOrCreateFunctionType(const Decl *D, QualType FnType, llvm::DIFile *F); 299 SourceLocation ScopeLoc, QualType FnType, 303 void EmitFunctionDecl(GlobalDecl GD, SourceLocation Loc, QualType FnType);
|
D | CGExpr.cpp | 2399 llvm::FunctionType *FnType, in emitCheckHandlerCall() argument 2420 FnType, FnName, in emitCheckHandlerCall() 2509 llvm::FunctionType *FnType = in EmitCheck() local 2515 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, in EmitCheck() 2525 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, true, in EmitCheck() 2528 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, false, in EmitCheck() 3800 const auto *FnType = in EmitCall() local 3809 CGM.GetAddrOfRTTIDescriptor(QualType(FnType, 0), /*ForEH=*/true); in EmitCall() 3854 llvm::Metadata *MD = CGM.CreateMetadataIdentifierForType(QualType(FnType, 0)); in EmitCall() 3868 EmitCheckTypeDescriptor(QualType(FnType, 0)), in EmitCall() [all …]
|
D | CGDebugInfo.cpp | 2508 QualType FnType = in getFunctionForwardDeclaration() local 2513 getOrCreateFunctionType(FD, FnType, Unit), !FD->isExternallyVisible(), in getFunctionForwardDeclaration() 2605 QualType FnType, in getOrCreateFunctionType() argument 2631 else if (auto *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType() 2656 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType() 2664 return cast<llvm::DISubroutineType>(getOrCreateType(FnType, F)); in getOrCreateFunctionType() 2668 SourceLocation ScopeLoc, QualType FnType, in EmitFunctionStart() argument 2726 getOrCreateFunctionType(D, FnType, Unit), Fn->hasInternalLinkage(), in EmitFunctionStart() 2744 QualType FnType) { in EmitFunctionDecl() argument 2779 getOrCreateFunctionType(D, FnType, Unit), in EmitFunctionDecl()
|
D | CGBlocks.cpp | 977 QualType FnType = BPT->getPointeeType(); in EmitBlockCallExpr() local 980 EmitCallArgs(Args, FnType->getAs<FunctionProtoType>(), E->arguments()); in EmitBlockCallExpr() 985 const FunctionType *FuncTy = FnType->castAs<FunctionType>(); in EmitBlockCallExpr()
|
D | CodeGenFunction.cpp | 749 QualType FnType = in StartFunction() local 752 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); in StartFunction()
|
D | CodeGenModule.h | 817 llvm::FunctionType *FnType = nullptr,
|
D | CGClass.cpp | 1688 llvm::FunctionType *FnType = in EmitSanitizerDtorCallback() local 1691 CGF.CGM.CreateRuntimeFunction(FnType, "__sanitizer_dtor_callback"); in EmitSanitizerDtorCallback()
|
D | CodeGenFunction.h | 2637 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 | 9606 QualType FnType = Cand->Surrogate->getConversionType(); in NoteSurrogateCandidate() local 9611 FnType->getAs<LValueReferenceType>()) { in NoteSurrogateCandidate() 9612 FnType = FnTypeRef->getPointeeType(); in NoteSurrogateCandidate() 9615 FnType->getAs<RValueReferenceType>()) { in NoteSurrogateCandidate() 9616 FnType = FnTypeRef->getPointeeType(); in NoteSurrogateCandidate() 9619 if (const PointerType *FnTypePtr = FnType->getAs<PointerType>()) { in NoteSurrogateCandidate() 9620 FnType = FnTypePtr->getPointeeType(); in NoteSurrogateCandidate() 9624 FnType = QualType(FnType->getAs<FunctionType>(), 0); in NoteSurrogateCandidate() 9626 if (isPointer) FnType = S.Context.getPointerType(FnType); in NoteSurrogateCandidate() 9627 if (isRValueReference) FnType = S.Context.getRValueReferenceType(FnType); in NoteSurrogateCandidate() [all …]
|
D | SemaLookup.cpp | 2558 const FunctionType *FnType = cast<FunctionType>(T); in addAssociatedClassesAndNamespaces() local 2559 T = FnType->getReturnType().getTypePtr(); in addAssociatedClassesAndNamespaces()
|
D | SemaExprCXX.cpp | 2201 QualType FnType = Context.getFunctionType( in DeclareGlobalAllocationFunction() local 2206 FnType, /*TInfo=*/nullptr, SC_None, false, true); in DeclareGlobalAllocationFunction()
|
D | SemaExpr.cpp | 14153 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr() local 14172 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FnType); in VisitCallExpr() 14213 FnType->getExtInfo()); in VisitCallExpr() 14324 const FunctionType *FnType = FDT->castAs<FunctionType>(); in resolveDecl() local 14325 const FunctionProtoType *Proto = dyn_cast_or_null<FunctionProtoType>(FnType); in resolveDecl()
|
/external/icu/icu4c/source/test/perf/ustrperf/ |
D | stringperf.h | 56 enum FnType { Fn_ICU, Fn_STD }; enum 57 typedef FnType FnType; typedef 339 FnType fnType_;
|
/external/clang/lib/AST/ |
D | Expr.cpp | 1299 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType() local 1300 return FnType->getReturnType(); in getCallReturnType()
|