Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclCXX.cpp16232 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
16239 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
16286 if (FnDecl->getDescribedFunctionTemplate() && FnDecl->getNumParams() < 2) in CheckOperatorNewDeleteTypes()
16295 << FnDecl->getDeclName(); in CheckOperatorNewDeleteTypes()
16351 << FnDecl->getDeclName() << FnDecl->getParamDecl(0)->getDefaultArgRange(); in CheckOperatorNewDeclaration()
16402 assert(FnDecl && FnDecl->isOverloadedOperator() && in CheckOverloadedOperatorDeclaration()
16433 << FnDecl; in CheckOverloadedOperatorDeclaration()
16436 << FnDecl; in CheckOverloadedOperatorDeclaration()
16543 << FnDecl->getDeclName(); in CheckOverloadedOperatorDeclaration()
16557 ParmVarDecl *LastParam = FnDecl->getParamDecl(FnDecl->getNumParams() - 1); in CheckOverloadedOperatorDeclaration()
[all …]
H A DSemaOverload.cpp14228 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedUnaryOp() local
14230 if (FnDecl) { in CreateOverloadedUnaryOp()
14278 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp()
14530 if (FnDecl) { in CreateOverloadedBinOp()
14532 if (FnDecl->isInvalidDecl()) in CreateOverloadedBinOp()
14589 Diag(FnDecl->getLocation(), in CreateOverloadedBinOp()
14611 Diag(FnDecl->getLocation(), in CreateOverloadedBinOp()
14693 FnDecl)) in CreateOverloadedBinOp()
14736 Ctx.Entity = FnDecl; in CreateOverloadedBinOp()
15071 if (FnDecl) { in CreateOverloadedArraySubscriptExpr()
[all …]
H A DSemaExprCXX.cpp2555 FunctionDecl *FnDecl = Best->Function; in resolveAllocationOverload() local
2560 Operator = FnDecl; in resolveAllocationOverload()
3890 FunctionDecl *FnDecl = Best->Function; in resolveBuiltinNewDeleteOverload() local
3894 if (!FnDecl->isReplaceableGlobalAllocationFunction()) { in resolveBuiltinNewDeleteOverload()
3897 S.Diag(FnDecl->getLocation(), diag::note_non_usual_function_declared_here) in resolveBuiltinNewDeleteOverload()
3898 << R.getLookupName() << FnDecl->getSourceRange(); in resolveBuiltinNewDeleteOverload()
3902 Operator = FnDecl; in resolveBuiltinNewDeleteOverload()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.h49 bool isPotentialConstantExpr(State &Parent, const FunctionDecl *FnDecl);
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h8155 bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl);
8157 bool CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp13266 llvm::Function *FnDecl; in EmitBPFBuiltinExpr() local
13268 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr()
13271 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr()
13273 CallInst *Fn = Builder.CreateCall(FnDecl, {SeqNumVal, FlagValue}); in EmitBPFBuiltinExpr()