Home
last modified time | relevance | path

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

/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/clang/lib/CodeGen/
DCGCXX.cpp229 llvm::FunctionType *FnType, bool DontDefer) { in getAddrOfCXXStructor() argument
242 if (!FnType) { in getAddrOfCXXStructor()
245 FnType = getTypes().GetFunctionType(*FnInfo); in getAddrOfCXXStructor()
248 return cast<llvm::Function>(GetOrCreateLLVMFunction(Name, FnType, GD, in getAddrOfCXXStructor()
DCGDebugInfo.h154 getOrCreateFunctionType(const Decl *D, QualType FnType, llvm::DIFile F);
237 QualType FnType, llvm::Function *Fn,
DCGExpr.cpp2259 llvm::FunctionType *FnType, in emitCheckHandlerCall() argument
2280 FnType, FnName, in emitCheckHandlerCall()
2369 llvm::FunctionType *FnType = in EmitCheck() local
2375 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, in EmitCheck()
2385 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, true, in EmitCheck()
2388 emitCheckHandlerCall(*this, FnType, Args, CheckName, RecoverKind, false, in EmitCheck()
3351 const auto *FnType = in EmitCall() local
3360 CGM.GetAddrOfRTTIDescriptor(QualType(FnType, 0), /*ForEH=*/true); in EmitCall()
3401 EmitCallArgs(Args, dyn_cast<FunctionProtoType>(FnType), E->arg_begin(), in EmitCall()
3405 Args, FnType, /*isChainCall=*/Chain); in EmitCall()
[all …]
DCGDebugInfo.cpp2403 QualType FnType = in getFunctionForwardDeclaration() local
2408 getOrCreateFunctionType(FD, FnType, Unit), !FD->isExternallyVisible(), in getFunctionForwardDeclaration()
2506 QualType FnType, in getOrCreateFunctionType() argument
2555 if (const FunctionProtoType *FPT = dyn_cast<FunctionProtoType>(FnType)) in getOrCreateFunctionType()
2563 return cast<llvm::MDSubroutineType>(getOrCreateType(FnType, F)); in getOrCreateFunctionType()
2568 SourceLocation ScopeLoc, QualType FnType, in EmitFunctionStart() argument
2627 getOrCreateFunctionType(D, FnType, Unit), Fn->hasInternalLinkage(), in EmitFunctionStart()
DCGBlocks.cpp978 QualType FnType = BPT->getPointeeType(); in EmitBlockCallExpr() local
981 EmitCallArgs(Args, FnType->getAs<FunctionProtoType>(), in EmitBlockCallExpr()
987 const FunctionType *FuncTy = FnType->castAs<FunctionType>(); in EmitBlockCallExpr()
DCodeGenFunction.cpp667 QualType FnType = in StartFunction() local
670 DI->EmitFunctionStart(GD, Loc, StartLoc, FnType, CurFn, Builder); in StartFunction()
DCodeGenModule.h837 llvm::FunctionType *FnType = nullptr,
DCodeGenFunction.h2416 RValue EmitCall(QualType FnType, llvm::Value *Callee, const CallExpr *E,
/external/icu/icu4c/source/test/perf/ustrperf/
Dstringperf.h56 enum FnType { Fn_ICU, Fn_STD }; enum
57 typedef FnType FnType; typedef
339 FnType fnType_;
/external/llvm/lib/CodeGen/
DWinEHPrepare.cpp832 FunctionType *FnType = FunctionType::get(Int8PtrType, ArgTys, false); in outlineHandler() local
833 Handler = Function::Create(FnType, GlobalVariable::InternalLinkage, in outlineHandler()
836 FunctionType *FnType = in outlineHandler() local
838 Handler = Function::Create(FnType, GlobalVariable::InternalLinkage, in outlineHandler()
/external/clang/lib/Sema/
DSemaOverload.cpp9336 QualType FnType = Cand->Surrogate->getConversionType(); in NoteSurrogateCandidate() local
9341 FnType->getAs<LValueReferenceType>()) { in NoteSurrogateCandidate()
9342 FnType = FnTypeRef->getPointeeType(); in NoteSurrogateCandidate()
9345 FnType->getAs<RValueReferenceType>()) { in NoteSurrogateCandidate()
9346 FnType = FnTypeRef->getPointeeType(); in NoteSurrogateCandidate()
9349 if (const PointerType *FnTypePtr = FnType->getAs<PointerType>()) { in NoteSurrogateCandidate()
9350 FnType = FnTypePtr->getPointeeType(); in NoteSurrogateCandidate()
9354 FnType = QualType(FnType->getAs<FunctionType>(), 0); in NoteSurrogateCandidate()
9356 if (isPointer) FnType = S.Context.getPointerType(FnType); in NoteSurrogateCandidate()
9357 if (isRValueReference) FnType = S.Context.getRValueReferenceType(FnType); in NoteSurrogateCandidate()
[all …]
DSemaLookup.cpp2241 const FunctionType *FnType = cast<FunctionType>(T); in addAssociatedClassesAndNamespaces() local
2242 T = FnType->getReturnType().getTypePtr(); in addAssociatedClassesAndNamespaces()
DSemaExprCXX.cpp2193 QualType FnType = Context.getFunctionType( in DeclareGlobalAllocationFunction() local
2198 FnType, /*TInfo=*/nullptr, SC_None, false, true); in DeclareGlobalAllocationFunction()
DSemaExpr.cpp13891 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in VisitCallExpr() local
13910 const FunctionProtoType *Proto = dyn_cast<FunctionProtoType>(FnType); in VisitCallExpr()
13951 FnType->getExtInfo()); in VisitCallExpr()
14062 const FunctionType *FnType = FDT->castAs<FunctionType>(); in resolveDecl() local
14063 const FunctionProtoType *Proto = dyn_cast_or_null<FunctionProtoType>(FnType); in resolveDecl()
/external/clang/lib/AST/
DExpr.cpp1262 const FunctionType *FnType = CalleeType->castAs<FunctionType>(); in getCallReturnType() local
1263 return FnType->getReturnType(); in getCallReturnType()