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.cpp16105 const FunctionDecl *FnDecl) { in CheckOperatorNewDeleteDeclarationScope() argument
16106 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope()
16108 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope()
16110 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
16114 FnDecl->getStorageClass() == SC_Static) { in CheckOperatorNewDeleteDeclarationScope()
16115 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope()
16117 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
16133 CheckOperatorNewDeleteTypes(Sema &SemaRef, const FunctionDecl *FnDecl, in CheckOperatorNewDeleteTypes() argument
16139 FnDecl->getType()->castAs<FunctionType>()->getReturnType(); in CheckOperatorNewDeleteTypes()
16156 FnDecl in CheckOperatorNewDeleteTypes()
16204 CheckOperatorNewDeclaration(Sema & SemaRef,const FunctionDecl * FnDecl) CheckOperatorNewDeclaration() argument
16235 CheckOperatorDeleteDeclaration(Sema & SemaRef,FunctionDecl * FnDecl) CheckOperatorDeleteDeclaration() argument
16276 CheckOverloadedOperatorDeclaration(FunctionDecl * FnDecl) CheckOverloadedOperatorDeclaration() argument
16500 CheckLiteralOperatorDeclaration(FunctionDecl * FnDecl) CheckLiteralOperatorDeclaration() argument
[all...]
H A DSemaOverload.cpp14245 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedUnaryOp() local
14247 if (FnDecl) { in CreateOverloadedUnaryOp()
14253 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FnDecl)) { in CreateOverloadedUnaryOp()
14270 FnDecl->getParamDecl(0)), in CreateOverloadedUnaryOp()
14279 ExprResult FnExpr = CreateFunctionRefExpr(*this, FnDecl, Best->FoundDecl, in CreateOverloadedUnaryOp()
14286 QualType ResultTy = FnDecl->getReturnType(); in CreateOverloadedUnaryOp()
14295 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp()
14298 if (CheckFunctionCall(FnDecl, TheCall, in CreateOverloadedUnaryOp()
14299 FnDecl->getType()->castAs<FunctionProtoType>())) in CreateOverloadedUnaryOp()
14301 return CheckForImmediateInvocation(MaybeBindToTemporary(TheCall), FnDecl); in CreateOverloadedUnaryOp()
[all …]
H A DSemaExprCXX.cpp2584 FunctionDecl *FnDecl = Best->Function; in resolveAllocationOverload() local
2589 Operator = FnDecl; in resolveAllocationOverload()
3896 FunctionDecl *FnDecl = Best->Function; in resolveBuiltinNewDeleteOverload() local
3900 if (!FnDecl->isReplaceableGlobalAllocationFunction()) { in resolveBuiltinNewDeleteOverload()
3903 S.Diag(FnDecl->getLocation(), diag::note_non_usual_function_declared_here) in resolveBuiltinNewDeleteOverload()
3904 << R.getLookupName() << FnDecl->getSourceRange(); in resolveBuiltinNewDeleteOverload()
3908 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.h5782 bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl);
5787 bool CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl);
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGBuiltin.cpp13550 llvm::Function *FnDecl; in EmitBPFBuiltinExpr() local
13552 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr()
13555 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr()
13557 CallInst *Fn = Builder.CreateCall(FnDecl, {SeqNumVal, FlagValue}); in EmitBPFBuiltinExpr()