/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/ |
H A D | CodeInjector.h | 22 class FunctionDecl; 40 virtual Stmt *getBody(const FunctionDecl *D) = 0;
|
H A D | BodyFarm.h | 25 class FunctionDecl; 36 Stmt *getBody(const FunctionDecl *D);
|
H A D | AnyCall.h | 73 if (D && ((K == Function && !isa<FunctionDecl>(D)) || 99 AnyCall(const FunctionDecl *D) : E(nullptr), D(D) { 134 if (const auto *FD = dyn_cast<FunctionDecl>(D)) { 147 if (const auto *FD = dyn_cast<FunctionDecl>(D)) { 169 return cast<FunctionDecl>(D)->getReturnType(); 183 return cast<FunctionDecl>(D)->getReturnType();
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/DomainSpecific/ |
H A D | CocoaConventions.h | 20 class FunctionDecl; 36 bool followsCreateRule(const FunctionDecl *FD);
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Frame.h | 20 class FunctionDecl; 39 virtual const FunctionDecl *getCallee() const = 0;
|
H A D | Program.h | 31 class FunctionDecl; 76 Function *createFunction(const FunctionDecl *Def, Ts &&... Args) { 90 Function *getFunction(const FunctionDecl *F); 95 llvm::Expected<Function *> getOrCreateFunction(const FunctionDecl *F); 139 llvm::DenseMap<const FunctionDecl *, std::unique_ptr<Function>> Funcs; 144 llvm::DenseMap<const FunctionDecl *, std::vector<unsigned>> Relocs;
|
H A D | Context.h | 28 class FunctionDecl; 47 bool isPotentialConstantExpr(State &Parent, const FunctionDecl *FnDecl);
|
H A D | Function.h | 73 /// Returns the original FunctionDecl. 74 const FunctionDecl *getDecl() const { return F; } 113 Function(Program &P, const FunctionDecl *F, unsigned ArgSize, 136 const FunctionDecl *F;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A D | PtrTypesSemantics.h | 17 class FunctionDecl; 48 bool isCtorOfRefCounted(const clang::FunctionDecl *F); 55 bool isPtrConversion(const FunctionDecl *F);
|
H A D | ASTUtils.h | 22 class FunctionDecl;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaSYCL.cpp | 24 FunctionDecl *FD = dyn_cast<FunctionDecl>(getCurLexicalContext()); 35 bool Sema::checkSYCLDeviceFunction(SourceLocation Loc, FunctionDecl *Callee) {
|
H A D | CoroutineStmtBuilder.h | 26 FunctionDecl &FD; 37 CoroutineStmtBuilder(Sema &S, FunctionDecl &FD, sema::FunctionScopeInfo &Fn,
|
H A D | SemaCUDA.cpp | 45 FunctionDecl *ConfigDecl = Context.getcudaConfigureCallDecl(); 100 static bool hasAttr(const FunctionDecl *D, bool IgnoreImplicitAttr) { 108 Sema::CUDAFunctionTarget Sema::IdentifyCUDATarget(const FunctionDecl *D, 164 Sema::IdentifyCUDAPreference(const FunctionDecl *Caller, 165 const FunctionDecl *Callee) { 215 template <typename AttrT> static bool hasImplicitAttr(const FunctionDecl *D) { 223 bool Sema::isCUDAImplicitHostDeviceFunction(const FunctionDecl *D) { 230 const FunctionDecl *Caller, 231 SmallVectorImpl<std::pair<DeclAccessPair, FunctionDecl *>> &Matches) { 235 using Pair = std::pair<DeclAccessPair, FunctionDecl*>; [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
H A D | ModelConsumer.cpp | 35 const FunctionDecl *func = llvm::dyn_cast<FunctionDecl>(*I);
|
H A D | ModelInjector.h | 41 Stmt *getBody(const FunctionDecl *D) override;
|
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTMutationListener.h | 26 class FunctionDecl; 73 const FunctionDecl *D) {} 77 virtual void ResolvedExceptionSpec(const FunctionDecl *FD) {} 80 virtual void DeducedReturnType(const FunctionDecl *FD, QualType ReturnType); 84 const FunctionDecl *Delete, 88 virtual void CompletedImplicitDefinition(const FunctionDecl *D) {} 99 virtual void FunctionDefinitionInstantiated(const FunctionDecl *D) {}
|
H A D | ASTConsumer.h | 27 class FunctionDecl; 57 virtual void HandleInlineFunctionDefinition(FunctionDecl *D) {} 82 virtual void HandleCXXImplicitFunctionInstantiation(FunctionDecl *D) {}
|
H A D | GlobalDecl.h | 45 /// a FunctionDecl and the kernel reference type (Kernel, Stub), or 46 /// a VarDecl, a FunctionDecl or a BlockDecl. 69 GlobalDecl(const FunctionDecl *D, unsigned MVIndex = 0) 77 GlobalDecl(const FunctionDecl *D, KernelReferenceKind Kind) 121 assert(isa<FunctionDecl>( 123 !cast<FunctionDecl>(getDecl())->hasAttr<CUDAGlobalAttr>() && 126 "Decl is not a plain FunctionDecl!"); 131 assert(isa<FunctionDecl>(getDecl()) && 132 cast<FunctionDecl>(getDecl())->hasAttr<CUDAGlobalAttr>() && 152 static KernelReferenceKind getDefaultKernelReference(const FunctionDecl * [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | AnalysisBasedWarnings.h | 22 class FunctionDecl; 51 llvm::DenseMap<const FunctionDecl*, VisitFlag> VisitedFD;
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/ |
H A D | TransGCCalls.cpp | 47 if (FunctionDecl *FD = dyn_cast_or_null<FunctionDecl>(DRE->getDecl())) {
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | MultiplexConsumer.cpp | 90 const FunctionDecl *D) override; 91 void ResolvedExceptionSpec(const FunctionDecl *FD) override; 92 void DeducedReturnType(const FunctionDecl *FD, QualType ReturnType) override; 94 const FunctionDecl *Delete, 96 void CompletedImplicitDefinition(const FunctionDecl *D) override; 99 void FunctionDefinitionInstantiated(const FunctionDecl *D) override; 149 const FunctionTemplateDecl *TD, const FunctionDecl *D) { 154 const FunctionDecl *FD) { 158 void MultiplexASTMutationListener::DeducedReturnType(const FunctionDecl *FD, 164 const CXXDestructorDecl *DD, const FunctionDecl *Delet [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/ |
H A D | Decl.cpp | 306 if (isa<FunctionDecl>(DC) || isa<BlockDecl>(DC)) 368 static bool shouldConsiderTemplateVisibility(const FunctionDecl *fn, 388 LinkageInfo &LV, const FunctionDecl *fn, 537 const auto *FD = dyn_cast<FunctionDecl>(D); 550 const FunctionDecl *Def = nullptr; 620 if (auto *FD = dyn_cast<FunctionDecl>(D)) 690 const auto *Func = dyn_cast<FunctionDecl>(D); 807 } else if (const auto *Function = dyn_cast<FunctionDecl>(D)) { 1161 if (const auto *fn = dyn_cast<FunctionDecl>(ND)) { 1171 FunctionDecl *InstantiatedFro 2766 FunctionDecl::FunctionDecl(Kind DK, ASTContext &C, DeclContext *DC, function in class:FunctionDecl [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckSecuritySyntaxOnly.cpp | 96 bool checkCall_strCommon(const CallExpr *CE, const FunctionDecl *FD); 98 typedef void (WalkAST::*FnCheck)(const CallExpr *, const FunctionDecl *); 103 void checkCall_bcmp(const CallExpr *CE, const FunctionDecl *FD); 104 void checkCall_bcopy(const CallExpr *CE, const FunctionDecl *FD); 105 void checkCall_bzero(const CallExpr *CE, const FunctionDecl *FD); 106 void checkCall_gets(const CallExpr *CE, const FunctionDecl *FD); 107 void checkCall_getpw(const CallExpr *CE, const FunctionDecl *FD); 108 void checkCall_mktemp(const CallExpr *CE, const FunctionDecl *FD); 109 void checkCall_mkstemp(const CallExpr *CE, const FunctionDecl *FD); 110 void checkCall_strcpy(const CallExpr *CE, const FunctionDecl *F [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/ |
H A D | ThreadSafety.h | 27 class FunctionDecl; 224 virtual void enterFunction(const FunctionDecl *FD) {} 227 virtual void leaveFunction(const FunctionDecl *FD) {}
|
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | CheckerContext.cpp | 21 const FunctionDecl *CheckerContext::getCalleeDecl(const CallExpr *CE) const { 27 StringRef CheckerContext::getCalleeName(const FunctionDecl *FunDecl) const { 44 bool CheckerContext::isCLibraryFunction(const FunctionDecl *FD,
|