Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaDeclCXX.cpp15308 const FunctionDecl *FnDecl) { in CheckOperatorNewDeleteDeclarationScope() argument
15309 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope()
15311 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope()
15313 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
15317 FnDecl->getStorageClass() == SC_Static) { in CheckOperatorNewDeleteDeclarationScope()
15318 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope()
15320 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope()
15336 CheckOperatorNewDeleteTypes(Sema &SemaRef, const FunctionDecl *FnDecl, in CheckOperatorNewDeleteTypes() argument
15342 FnDecl->getType()->castAs<FunctionType>()->getReturnType(); in CheckOperatorNewDeleteTypes()
15359 FnDecl->getLocation(), in CheckOperatorNewDeleteTypes()
[all …]
H A DSemaOverload.cpp13283 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedUnaryOp() local
13285 if (FnDecl) { in CreateOverloadedUnaryOp()
13291 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FnDecl)) { in CreateOverloadedUnaryOp()
13305 FnDecl->getParamDecl(0)), in CreateOverloadedUnaryOp()
13314 ExprResult FnExpr = CreateFunctionRefExpr(*this, FnDecl, Best->FoundDecl, in CreateOverloadedUnaryOp()
13321 QualType ResultTy = FnDecl->getReturnType(); in CreateOverloadedUnaryOp()
13330 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp()
13333 if (CheckFunctionCall(FnDecl, TheCall, in CreateOverloadedUnaryOp()
13334 FnDecl->getType()->castAs<FunctionProtoType>())) in CreateOverloadedUnaryOp()
13336 return CheckForImmediateInvocation(MaybeBindToTemporary(TheCall), FnDecl); in CreateOverloadedUnaryOp()
[all …]
H A DSemaExprCXX.cpp2438 FunctionDecl *FnDecl = Best->Function; in resolveAllocationOverload() local
2443 Operator = FnDecl; in resolveAllocationOverload()
3714 FunctionDecl *FnDecl = Best->Function; in resolveBuiltinNewDeleteOverload() local
3718 if (!FnDecl->isReplaceableGlobalAllocationFunction()) { in resolveBuiltinNewDeleteOverload()
3721 S.Diag(FnDecl->getLocation(), diag::note_non_usual_function_declared_here) in resolveBuiltinNewDeleteOverload()
3722 << R.getLookupName() << FnDecl->getSourceRange(); in resolveBuiltinNewDeleteOverload()
3726 Operator = FnDecl; in resolveBuiltinNewDeleteOverload()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/Interp/
H A DContext.h47 bool isPotentialConstantExpr(State &Parent, const FunctionDecl *FnDecl);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Sema/
H A DSema.h7339 bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl);
7341 bool CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl);
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGBuiltin.cpp11603 llvm::Function *FnDecl; in EmitBPFBuiltinExpr() local
11605 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr()
11608 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr()
11610 CallInst *Fn = Builder.CreateCall(FnDecl, {SeqNumVal, FlagValue}); in EmitBPFBuiltinExpr()