Home
last modified time | relevance | path

Searched refs:FnDecl (Results 1 – 6 of 6) sorted by relevance

/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DContext.h44 bool isPotentialConstantExpr(State &Parent, const FunctionDecl *FnDecl);
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DSemaDeclCXX.cpp15771 const FunctionDecl *FnDecl) { in CheckOperatorNewDeleteDeclarationScope() argument
15772 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope()
15774 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope()
15776 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
15780 FnDecl->getStorageClass() == SC_Static) { in CheckOperatorNewDeleteDeclarationScope()
15781 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope()
15783 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
15799 CheckOperatorNewDeleteTypes(Sema &SemaRef, const FunctionDecl *FnDecl, in CheckOperatorNewDeleteTypes() argument
15805 FnDecl->getType()->castAs<FunctionType>()->getReturnType(); in CheckOperatorNewDeleteTypes()
15822 FnDecl->getLocation(), in CheckOperatorNewDeleteTypes()
[all …]
H A DSemaOverload.cpp13625 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedUnaryOp() local
13627 if (FnDecl) { in CreateOverloadedUnaryOp()
13633 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FnDecl)) { in CreateOverloadedUnaryOp()
13647 FnDecl->getParamDecl(0)), in CreateOverloadedUnaryOp()
13656 ExprResult FnExpr = CreateFunctionRefExpr(*this, FnDecl, Best->FoundDecl, in CreateOverloadedUnaryOp()
13663 QualType ResultTy = FnDecl->getReturnType(); in CreateOverloadedUnaryOp()
13672 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp()
13675 if (CheckFunctionCall(FnDecl, TheCall, in CreateOverloadedUnaryOp()
13676 FnDecl->getType()->castAs<FunctionProtoType>())) in CreateOverloadedUnaryOp()
13678 return CheckForImmediateInvocation(MaybeBindToTemporary(TheCall), FnDecl); in CreateOverloadedUnaryOp()
[all …]
H A DSemaExprCXX.cpp2514 FunctionDecl *FnDecl = Best->Function; in resolveAllocationOverload() local
2519 Operator = FnDecl; in resolveAllocationOverload()
3847 FunctionDecl *FnDecl = Best->Function; in resolveBuiltinNewDeleteOverload() local
3851 if (!FnDecl->isReplaceableGlobalAllocationFunction()) { in resolveBuiltinNewDeleteOverload()
3854 S.Diag(FnDecl->getLocation(), diag::note_non_usual_function_declared_here) in resolveBuiltinNewDeleteOverload()
3855 << R.getLookupName() << FnDecl->getSourceRange(); in resolveBuiltinNewDeleteOverload()
3859 Operator = FnDecl; in resolveBuiltinNewDeleteOverload()
/openbsd-src/gnu/llvm/clang/include/clang/Sema/
H A DSema.h7959 bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl);
7961 bool CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl);
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGBuiltin.cpp12294 llvm::Function *FnDecl; in EmitBPFBuiltinExpr() local
12296 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr()
12299 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr()
12301 CallInst *Fn = Builder.CreateCall(FnDecl, {SeqNumVal, FlagValue}); in EmitBPFBuiltinExpr()