Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/AST/Interp/
H A DContext.h45 bool isPotentialConstantExpr(State &Parent, const FunctionDecl *FnDecl);
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDeclCXX.cpp15717 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
15724 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
15771 if (FnDecl->getDescribedFunctionTemplate() && FnDecl->getNumParams() < 2) in CheckOperatorNewDeleteTypes()
15774 << FnDecl->getDeclName(); in CheckOperatorNewDeleteTypes()
15780 << FnDecl->getDeclName(); in CheckOperatorNewDeleteTypes()
15836 << FnDecl->getDeclName() << FnDecl->getParamDecl(0)->getDefaultArgRange(); in CheckOperatorNewDeclaration()
15887 assert(FnDecl && FnDecl->isOverloadedOperator() && in CheckOverloadedOperatorDeclaration()
16015 << FnDecl->getDeclName(); in CheckOverloadedOperatorDeclaration()
16029 ParmVarDecl *LastParam = FnDecl->getParamDecl(FnDecl->getNumParams() - 1); in CheckOverloadedOperatorDeclaration()
16103 << FnDecl->getDeclName(); in CheckLiteralOperatorDeclaration()
[all …]
H A DSemaOverload.cpp13472 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedUnaryOp() local
13474 if (FnDecl) { in CreateOverloadedUnaryOp()
13519 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp()
13754 if (FnDecl) { in CreateOverloadedBinOp()
13809 Diag(FnDecl->getLocation(), in CreateOverloadedBinOp()
13812 Diag(FnDecl->getLocation(), in CreateOverloadedBinOp()
13878 FnDecl)) in CreateOverloadedBinOp()
13884 if (isa<CXXMethodDecl>(FnDecl)) { in CreateOverloadedBinOp()
13929 Ctx.Entity = FnDecl; in CreateOverloadedBinOp()
14264 if (FnDecl) { in CreateOverloadedArraySubscriptExpr()
[all …]
H A DSemaExprCXX.cpp2493 FunctionDecl *FnDecl = Best->Function; in resolveAllocationOverload() local
2498 Operator = FnDecl; in resolveAllocationOverload()
3777 FunctionDecl *FnDecl = Best->Function; in resolveBuiltinNewDeleteOverload() local
3781 if (!FnDecl->isReplaceableGlobalAllocationFunction()) { in resolveBuiltinNewDeleteOverload()
3784 S.Diag(FnDecl->getLocation(), diag::note_non_usual_function_declared_here) in resolveBuiltinNewDeleteOverload()
3785 << R.getLookupName() << FnDecl->getSourceRange(); in resolveBuiltinNewDeleteOverload()
3789 Operator = FnDecl; in resolveBuiltinNewDeleteOverload()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DNonConstParameterCheck.cpp162 for (FunctionDecl *FnDecl : Function->redecls()) in diagnoseNonConstParameters()
164 FnDecl->getParamDecl(Index)->getBeginLoc(), "const ")); in diagnoseNonConstParameters()
/llvm-project-15.0.7/clang/include/clang/Sema/
H A DSema.h7710 bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl);
7712 bool CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl);
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGBuiltin.cpp11986 llvm::Function *FnDecl; in EmitBPFBuiltinExpr() local
11988 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr()
11991 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr()
11993 CallInst *Fn = Builder.CreateCall(FnDecl, {SeqNumVal, FlagValue}); in EmitBPFBuiltinExpr()