Home
last modified time | relevance | path

Searched refs:TranslationUnitDecl (Results 1 – 25 of 84) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDebugCheckers.cpp211 class CallGraphViewer : public Checker< check::ASTDecl<TranslationUnitDecl> > {
213 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr, in checkASTDecl()
216 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); in checkASTDecl()
235 class CallGraphDumper : public Checker< check::ASTDecl<TranslationUnitDecl> > {
237 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr, in checkASTDecl()
240 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); in checkASTDecl()
268 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
H A DPaddingChecker.cpp33 class PaddingChecker : public Checker<check::ASTDecl<TranslationUnitDecl>> {
41 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
65 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DErrnoModeling.cpp48 : public Checker<check::ASTDecl<TranslationUnitDecl>, check::BeginFunction,
51 void checkASTDecl(const TranslationUnitDecl *D, AnalysisManager &Mgr,
119 void ErrnoModeling::checkASTDecl(const TranslationUnitDecl *D, in checkASTDecl()
H A DCloneChecker.cpp45 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU,
67 void CloneChecker::checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
H A DCheckerDocumentation.cpp212 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLambdaCapturesChecker.cpp24 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
31 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
55 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DNoUncountedMembersChecker.cpp29 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
41 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
65 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DUncountedCallArgsChecker.cpp29 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
37 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
61 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DRefCntblBaseVirtualDtorChecker.cpp24 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
35 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
59 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DUncountedLocalVarsChecker.cpp129 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
137 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
161 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Interpreter/
H A DPartialTranslationUnit.h25 class TranslationUnitDecl; variable
30 TranslationUnitDecl *TUPart = nullptr;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTImporterSharedState.h25 class TranslationUnitDecl; variable
51 ASTImporterSharedState(TranslationUnitDecl &ToTU) { in ASTImporterSharedState()
H A DASTImporterLookupTable.h62 ASTImporterLookupTable(TranslationUnitDecl &TU);
H A DDecl.h82 class TranslationUnitDecl : public Decl,
84 public Redeclarable<TranslationUnitDecl> {
85 using redeclarable_base = Redeclarable<TranslationUnitDecl>;
87 TranslationUnitDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
91 TranslationUnitDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
95 TranslationUnitDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
105 explicit TranslationUnitDecl(ASTContext &ctx);
125 static TranslationUnitDecl *Create(ASTContext &C);
191 TranslationUnitDecl *DC,
223 explicit ExternCContextDecl(TranslationUnitDecl *TU) in ExternCContextDecl()
[all …]
H A DASTImporter.h48 class TranslationUnitDecl; variable
365 TranslationUnitDecl *GetFromTU(Decl *ToD);
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp530 llvm::StringRef NewName, Decl *TranslationUnitDecl) { in createRenameAtomicChanges() argument
531 RenameLocFinder Finder(USRs, TranslationUnitDecl->getASTContext()); in createRenameAtomicChanges()
532 Finder.TraverseDecl(TranslationUnitDecl); in createRenameAtomicChanges()
535 TranslationUnitDecl->getASTContext().getSourceManager(); in createRenameAtomicChanges()
560 if (!llvm::isa<clang::TranslationUnitDecl>( in createRenameAtomicChanges()
578 SM, TranslationUnitDecl->getASTContext().getLangOpts()); in createRenameAtomicChanges()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h36 class TranslationUnitDecl; variable
209 void lazyInitImporterSharedSt(TranslationUnitDecl *ToTU);
223 llvm::DenseMap<TranslationUnitDecl *, std::unique_ptr<ASTImporter>>;
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/
H A DUSRLocFinder.h39 llvm::StringRef NewName, Decl *TranslationUnitDecl);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DAnalysisBasedWarnings.h100 void IssueWarnings(TranslationUnitDecl *D);
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h34 class TranslationUnitDecl; variable
444 void runCheckersOnEndOfTranslationUnit(const TranslationUnitDecl *TU,
536 CheckerFn<void (const TranslationUnitDecl *, AnalysisManager &,
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTMerge.cpp60 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DCodeCompletion.cpp221 TranslationUnitDecl *ChildTUDeclCtxt;
223 TranslationUnitDecl *ParentTUDeclCtxt;
H A DIncrementalParser.cpp389 TranslationUnitDecl *MostRecentTU = PTU.TUPart; in CleanUpPTU()
390 TranslationUnitDecl *FirstTU = MostRecentTU->getFirstDecl(); in CleanUpPTU()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DDeclBase.cpp486 TranslationUnitDecl *Decl::getTranslationUnitDecl() { in getTranslationUnitDecl()
487 if (auto *TUD = dyn_cast<TranslationUnitDecl>(this)) in getTranslationUnitDecl()
498 return cast<TranslationUnitDecl>(DC); in getTranslationUnitDecl()
1056 if (isa<TranslationUnitDecl>(this) || isa<TemplateTypeParmDecl>(this) || in AccessDeclContextCheck()
1378 return static_cast<TranslationUnitDecl *>(this)->getFirstDecl(); in getPrimaryContext()
1447 collectAllContextsImpl(static_cast<TranslationUnitDecl *>(this), Contexts); in collectAllContexts()
/freebsd-14.2/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DLookup.cpp203 isa<TranslationUnitDecl>(FromDecl->getDeclContext()); in replaceNestedName()

1234