/external/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 11658 const FunctionDecl *FnDecl) { in CheckOperatorNewDeleteDeclarationScope() argument 11659 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope() 11661 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope() 11663 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope() 11667 FnDecl->getStorageClass() == SC_Static) { in CheckOperatorNewDeleteDeclarationScope() 11668 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope() 11670 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope() 11677 CheckOperatorNewDeleteTypes(Sema &SemaRef, const FunctionDecl *FnDecl, in CheckOperatorNewDeleteTypes() argument 11683 FnDecl->getType()->getAs<FunctionType>()->getReturnType(); in CheckOperatorNewDeleteTypes() 11687 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteTypes() [all …]
|
D | SemaExprCXX.cpp | 2237 FunctionDecl *FnDecl = Best->Function; in FindAllocationOverload() local 2242 Operator = FnDecl; in FindAllocationOverload()
|
/external/llvm-project/clang/lib/AST/Interp/ |
D | Context.h | 47 bool isPotentialConstantExpr(State &Parent, const FunctionDecl *FnDecl);
|
/external/llvm-project/clang-tools-extra/clang-tidy/readability/ |
D | NonConstParameterCheck.cpp | 147 for (FunctionDecl *FnDecl : Function->redecls()) in diagnoseNonConstParameters() 149 FnDecl->getParamDecl(Index)->getBeginLoc(), "const ")); in diagnoseNonConstParameters()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaDeclCXX.cpp | 15243 const FunctionDecl *FnDecl) { in CheckOperatorNewDeleteDeclarationScope() argument 15244 const DeclContext *DC = FnDecl->getDeclContext()->getRedeclContext(); in CheckOperatorNewDeleteDeclarationScope() 15246 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope() 15248 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope() 15252 FnDecl->getStorageClass() == SC_Static) { in CheckOperatorNewDeleteDeclarationScope() 15253 return SemaRef.Diag(FnDecl->getLocation(), in CheckOperatorNewDeleteDeclarationScope() 15255 << FnDecl->getDeclName(); in CheckOperatorNewDeleteDeclarationScope() 15269 CheckOperatorNewDeleteTypes(Sema &SemaRef, const FunctionDecl *FnDecl, in CheckOperatorNewDeleteTypes() argument 15275 FnDecl->getType()->castAs<FunctionType>()->getReturnType(); in CheckOperatorNewDeleteTypes() 15289 FnDecl->getLocation(), in CheckOperatorNewDeleteTypes() [all …]
|
D | SemaOverload.cpp | 13304 FunctionDecl *FnDecl = Best->Function; in CreateOverloadedUnaryOp() local 13306 if (FnDecl) { in CreateOverloadedUnaryOp() 13312 if (CXXMethodDecl *Method = dyn_cast<CXXMethodDecl>(FnDecl)) { in CreateOverloadedUnaryOp() 13326 FnDecl->getParamDecl(0)), in CreateOverloadedUnaryOp() 13335 ExprResult FnExpr = CreateFunctionRefExpr(*this, FnDecl, Best->FoundDecl, in CreateOverloadedUnaryOp() 13342 QualType ResultTy = FnDecl->getReturnType(); in CreateOverloadedUnaryOp() 13351 if (CheckCallReturnType(FnDecl->getReturnType(), OpLoc, TheCall, FnDecl)) in CreateOverloadedUnaryOp() 13354 if (CheckFunctionCall(FnDecl, TheCall, in CreateOverloadedUnaryOp() 13355 FnDecl->getType()->castAs<FunctionProtoType>())) in CreateOverloadedUnaryOp() 13357 return CheckForImmediateInvocation(MaybeBindToTemporary(TheCall), FnDecl); in CreateOverloadedUnaryOp() [all …]
|
D | SemaExprCXX.cpp | 2409 FunctionDecl *FnDecl = Best->Function; in resolveAllocationOverload() local 2414 Operator = FnDecl; in resolveAllocationOverload() 3645 FunctionDecl *FnDecl = Best->Function; in resolveBuiltinNewDeleteOverload() local 3649 if (!FnDecl->isReplaceableGlobalAllocationFunction()) { in resolveBuiltinNewDeleteOverload() 3652 S.Diag(FnDecl->getLocation(), diag::note_non_usual_function_declared_here) in resolveBuiltinNewDeleteOverload() 3653 << R.getLookupName() << FnDecl->getSourceRange(); in resolveBuiltinNewDeleteOverload() 3657 Operator = FnDecl; in resolveBuiltinNewDeleteOverload()
|
/external/rust/crates/syn/tests/common/ |
D | eq.rs | 9 Defaultness, EnumDef, Expr, ExprField, ExprKind, Extern, FieldDef, FloatTy, FnDecl, FnHeader, 297 spanless_eq_struct!(FnDecl; inputs output);
|
/external/clang/include/clang/Sema/ |
D | Sema.h | 5646 bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl); 5648 bool CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl);
|
/external/llvm-project/clang/include/clang/Sema/ |
D | Sema.h | 7192 bool CheckOverloadedOperatorDeclaration(FunctionDecl *FnDecl); 7194 bool CheckLiteralOperatorDeclaration(FunctionDecl *FnDecl);
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGBuiltin.cpp | 11162 llvm::Function *FnDecl; in EmitBPFBuiltinExpr() local 11164 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr() 11167 FnDecl = llvm::Intrinsic::getDeclaration( in EmitBPFBuiltinExpr() 11169 CallInst *Fn = Builder.CreateCall(FnDecl, {SeqNumVal, FlagValue}); in EmitBPFBuiltinExpr()
|