Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.h46 bool isPotentialConstantExpr(State &Parent, const FunctionDecl *FnDecl);
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp15518 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
15525 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
15572 if (FnDecl->getDescribedFunctionTemplate() && FnDecl->getNumParams() < 2) in CheckOperatorNewDeleteTypes()
15581 << FnDecl->getDeclName(); in CheckOperatorNewDeleteTypes()
15637 << FnDecl->getDeclName() << FnDecl->getParamDecl(0)->getDefaultArgRange(); in CheckOperatorNewDeclaration()
15688 assert(FnDecl && FnDecl->isOverloadedOperator() && in CheckOverloadedOperatorDeclaration()
15787 << FnDecl->getDeclName(); in CheckOverloadedOperatorDeclaration()
15794 << FnDecl->getDeclName(); in CheckOverloadedOperatorDeclaration()
15808 ParmVarDecl *LastParam = FnDecl->getParamDecl(FnDecl->getNumParams() - 1); in CheckOverloadedOperatorDeclaration()
15882 << FnDecl->getDeclName(); in CheckLiteralOperatorDeclaration()
[all …]
H A DSemaOverload.cpp13301 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedUnaryOp() local
13303 if (FnDecl) { in CreateOverloadedUnaryOp()
13348 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp()
13583 if (FnDecl) { in CreateOverloadedBinOp()
13638 Diag(FnDecl->getLocation(), in CreateOverloadedBinOp()
13641 Diag(FnDecl->getLocation(), in CreateOverloadedBinOp()
13707 FnDecl)) in CreateOverloadedBinOp()
13713 if (isa<CXXMethodDecl>(FnDecl)) { in CreateOverloadedBinOp()
13758 Ctx.Entity = FnDecl; in CreateOverloadedBinOp()
14045 if (FnDecl) { in CreateOverloadedArraySubscriptExpr()
[all …]
H A DSemaExprCXX.cpp2455 FunctionDecl *FnDecl = Best->Function; in resolveAllocationOverload() local
2460 Operator = FnDecl; in resolveAllocationOverload()
3731 FunctionDecl *FnDecl = Best->Function; in resolveBuiltinNewDeleteOverload() local
3735 if (!FnDecl->isReplaceableGlobalAllocationFunction()) { in resolveBuiltinNewDeleteOverload()
3738 S.Diag(FnDecl->getLocation(), diag::note_non_usual_function_declared_here) in resolveBuiltinNewDeleteOverload()
3739 << R.getLookupName() << FnDecl->getSourceRange(); in resolveBuiltinNewDeleteOverload()
3743 Operator = FnDecl; in resolveBuiltinNewDeleteOverload()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h7409 bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl);
7411 bool CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl);
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp11708 llvm::Function *FnDecl; in EmitBPFBuiltinExpr() local
11710 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr()
11713 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr()
11715 CallInst *Fn = Builder.CreateCall(FnDecl, {SeqNumVal, FlagValue}); in EmitBPFBuiltinExpr()