/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGCall.h | 38 class FunctionDecl; 78 const FunctionDecl *Decl; 101 CGCallee(const FunctionDecl *builtinDecl, unsigned builtinID) 121 const FunctionDecl *builtinDecl) { 157 const FunctionDecl *getBuiltinDecl() const {
|
H A D | CodeGenFunction.cpp | 563 void CodeGenFunction::EmitOpenCLKernelMetadata(const FunctionDecl *FD, 616 if (auto *FD = dyn_cast_or_null<FunctionDecl>(F)) 665 const FunctionDecl *FD) { 685 if (const auto *FD = dyn_cast_or_null<FunctionDecl>(D)) 769 if (const auto *FD = dyn_cast<FunctionDecl>(D)) 844 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) 851 if (const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(D)) { 894 if (const FunctionDecl *F [all...] |
H A D | ModuleBuilder.cpp | 66 SmallVector<FunctionDecl *, 8> DeferredInlineMemberFuncDefs; 115 if (auto FD = dyn_cast<FunctionDecl>(D)) { 188 void HandleInlineFunctionDefinition(FunctionDecl *D) override {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Analysis/ |
H A D | RetainSummaryManager.cpp | 187 static bool isRetain(const FunctionDecl *FD, StringRef FName) { 191 static bool isRelease(const FunctionDecl *FD, StringRef FName) { 195 static bool isAutorelease(const FunctionDecl *FD, StringRef FName) { 236 RetainSummaryManager::getSummaryForOSObject(const FunctionDecl *FD, 287 const FunctionDecl *FD, 495 RetainSummaryManager::generateSummary(const FunctionDecl *FD, 534 RetainSummaryManager::getFunctionSummary(const FunctionDecl *FD) { 671 Summ = getFunctionSummary(cast_or_null<FunctionDecl>(C.getDecl())); 704 RetainSummaryManager::getCFCreateGetRuleSummary(const FunctionDecl *FD) { 717 RetainSummaryManager::canEval(const CallExpr *CE, const FunctionDecl *F [all...] |
H A D | CocoaConventions.cpp | 97 bool coreFoundation::followsCreateRule(const FunctionDecl *fn) {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | Sema.cpp | 440 FunctionDecl *fn = dyn_cast<FunctionDecl>(CurContext); 615 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 625 const FunctionDecl *DeclToCheck; 670 if (auto *FD = dyn_cast<FunctionDecl>(ND)) 709 if (FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { 773 } else if (auto *FD = dyn_cast<FunctionDecl>(VD)) { 870 if (const FunctionDecl *F [all...] |
H A D | SemaCoroutine.cpp | 52 static QualType lookupPromiseType(Sema &S, const FunctionDecl *FD, 196 auto *FD = dyn_cast<FunctionDecl>(S.CurContext); 300 auto *BuiltInDecl = R.getAsSingle<FunctionDecl>(); 489 assert(isa<FunctionDecl>(CurContext) && "not in a function scope"); 490 auto *FD = cast<FunctionDecl>(CurContext); 593 assert(isa<FunctionDecl>(S.CurContext) && "not in a function scope"); 623 if (const auto *FD = dyn_cast<FunctionDecl>(D)) { 636 S.Diag(cast<FunctionDecl>(S.CurContext)->getLocation(), 702 auto *Fn = cast<FunctionDecl>(CurContext); 1021 static FunctionDecl *findDeleteForPromis [all...] |
H A D | AnalysisBasedWarnings.cpp | 186 static bool hasRecursiveCallInPath(const FunctionDecl *FD, CFGBlock &Block) { 217 static bool checkForRecursiveFunctionCall(const FunctionDecl *FD, CFG *cfg) { 253 static void checkRecursiveFunction(Sema &S, const FunctionDecl *FD, 259 if (FD->getTemplatedKind() != FunctionDecl::TK_NonTemplate && 260 FD->getTemplatedKind() != FunctionDecl::TK_MemberSpecialization) 337 const FunctionDecl *FD) { 356 static void checkThrowInNonThrowingFunc(Sema &S, const FunctionDecl *FD, 369 static bool isNoexcept(const FunctionDecl *FD) { 550 if (const FunctionDecl *Function = dyn_cast<FunctionDecl>(Fun [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InterfaceStubFunctionsConsumer.cpp | 67 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { 87 dyn_cast_or_null<FunctionDecl>(VD->getParentFunctionOrMethod())) 123 if (const auto *FD = dyn_cast<FunctionDecl>(ND)) 232 // catch anything that's not a VarDecl or Template/FunctionDecl. 246 if (const auto *FD = dyn_cast<FunctionDecl>(ND)) 277 *S.LateParsedTemplateMap.find(cast<FunctionDecl>(FD))->second;
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | Sema.h | 131 class FunctionDecl; 787 SmallVector<std::pair<FunctionDecl*, FunctionDecl*>, 2> 790 typedef llvm::MapVector<const FunctionDecl *, 941 if (auto *FD = dyn_cast<FunctionDecl>(DC)) 962 if (auto *FD = dyn_cast<FunctionDecl>(S.CurContext)) 1753 void UpdateExceptionSpec(FunctionDecl *FD, 1757 bool CheckEquivalentExceptionSpec(FunctionDecl *Old, FunctionDecl *New); 2388 void MaybeSuggestAddingStaticToDecl(const FunctionDecl * [all...] |
H A D | Overload.h | 404 FunctionDecl* ConversionFunction; 417 SmallVector<std::pair<NamedDecl *, FunctionDecl *>, 4>; 442 void addConversion(NamedDecl *Found, FunctionDecl *D) { 792 FunctionDecl *Function; 955 bool isRewrittenOperator(const FunctionDecl *FD) { 960 bool isAcceptableCandidate(const FunctionDecl *FD) { 977 getRewriteKind(const FunctionDecl *FD, OverloadCandidateParamOrder PO) { 1000 bool shouldAddReversed(ASTContext &Ctx, const FunctionDecl *FD);
|
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/ |
H A D | NameSearchContext.cpp | 78 clang::FunctionDecl *func_decl = FunctionDecl::Create( 83 // We have to do more than just synthesize the FunctionDecl. We have to 84 // synthesize ParmVarDecls for all of the FunctionDecl's arguments. To do
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | UndefResultChecker.cpp | 83 if (const FunctionDecl *EnclosingFunctionDecl = 84 dyn_cast<FunctionDecl>(C.getStackFrame()->getDecl()))
|
H A D | Iterator.cpp | 76 bool isInsertCall(const FunctionDecl *Func) { 87 bool isEmplaceCall(const FunctionDecl *Func) { 98 bool isEraseCall(const FunctionDecl *Func) { 112 bool isEraseAfterCall(const FunctionDecl *Func) {
|
H A D | NSErrorChecker.cpp | 87 : public Checker< check::ASTDecl<FunctionDecl> > { 93 void checkASTDecl(const FunctionDecl *D, 98 static bool hasReservedReturnType(const FunctionDecl *D) { 107 void CFErrorFunctionChecker::checkASTDecl(const FunctionDecl *D,
|
H A D | PointerArithChecker.cpp | 49 AllocKind getKindOfNewOp(const CXXNewExpr *NE, const FunctionDecl *FD) const; 91 const FunctionDecl *FD) const { 220 const FunctionDecl *FD = C.getCalleeDecl(CE); 242 const FunctionDecl *FD = NE->getOperatorNew();
|
H A D | FuchsiaHandleChecker.cpp | 260 const FunctionDecl *FuncDecl = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); 307 const FunctionDecl *FuncDecl = dyn_cast_or_null<FunctionDecl>(Call.getDecl()); 472 const FunctionDecl *FuncDecl = 473 Call ? dyn_cast_or_null<FunctionDecl>(Call->getDecl()) : nullptr;
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | Consumed.h | 34 class FunctionDecl; 247 const FunctionDecl *D);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CallEvent.cpp | 163 const auto *FD = dyn_cast_or_null<FunctionDecl>(getDecl()); 331 const FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(getDecl()); 429 if (const auto *FD = dyn_cast<FunctionDecl>(D)) 459 if (const auto *FD = dyn_cast<FunctionDecl>(D)) 535 const FunctionDecl *D = getDecl(); 542 const FunctionDecl *FD = getDecl(); 546 // Note that the AnalysisDeclContext will have the FunctionDecl with 572 llvm::Expected<const FunctionDecl *> CTUDeclOrError = 590 const auto *D = cast<FunctionDecl>(CalleeCt [all...] |
H A D | IssueHash.cpp | 30 static std::string GetSignature(const FunctionDecl *Target) { 38 if (const FunctionDecl *InstantiatedFrom = 106 DeclName = GetSignature(dyn_cast_or_null<FunctionDecl>(ND));
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 676 AST_MATCHER(FunctionDecl, isMain) { 728 FunctionDecl), 1012 FunctionDecl), 1315 extern const internal::VariadicDynCastAllOfMatcher<Decl, FunctionDecl> 2774 /// Usable as: Matcher<CXXOperatorCallExpr>, Matcher<FunctionDecl> 2777 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXOperatorCallExpr, FunctionDecl)> 2781 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXOperatorCallExpr, FunctionDecl)>( 2796 AST_POLYMORPHIC_SUPPORTED_TYPES(CXXOperatorCallExpr, FunctionDecl)>, 4264 AST_POLYMORPHIC_SUPPORTED_TYPES(FunctionDecl, 4345 if (const auto *Decl = dyn_cast_or_null<FunctionDecl>(Contex [all...] |
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | PdbAstBuilder.h | 25 class FunctionDecl; 63 clang::FunctionDecl *GetOrCreateFunctionDecl(PdbCompilandSymId func_id); 108 clang::FunctionDecl &function_decl,
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexingContext.cpp | 155 } else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 219 } else if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(D)) { 253 if (auto FD = dyn_cast<FunctionDecl>(D))
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransUnbridgedCasts.cpp | 135 if (FunctionDecl *FD = callE->getDirectCallee()) { 417 if (FunctionDecl * 418 FD = dyn_cast_or_null<FunctionDecl>(callE->getCalleeDecl())) 430 if (FunctionDecl * 431 FD = dyn_cast_or_null<FunctionDecl>(callE->getCalleeDecl())) {
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Serialization/ |
H A D | ASTWriter.h | 66 class FunctionDecl; 731 const FunctionDecl *D) override; 732 void ResolvedExceptionSpec(const FunctionDecl *FD) override; 733 void DeducedReturnType(const FunctionDecl *FD, QualType ReturnType) override; 735 const FunctionDecl *Delete, 737 void CompletedImplicitDefinition(const FunctionDecl *D) override; 740 void FunctionDefinitionInstantiated(const FunctionDecl *D) override;
|