| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DebugCheckers.cpp | 211 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 D | ErrnoModeling.cpp | 53 : public Checker<check::ASTDecl<TranslationUnitDecl>, check::BeginFunction, 56 void checkASTDecl(const TranslationUnitDecl *D, AnalysisManager &Mgr, 76 void ErrnoModeling::checkASTDecl(const TranslationUnitDecl *D, in REGISTER_TRAIT_WITH_PROGRAMSTATE()
|
| H A D | PaddingChecker.cpp | 33 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 D | CloneChecker.cpp | 45 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, 67 void CloneChecker::checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
|
| H A D | UnixAPIChecker.cpp | 46 : public Checker<check::PreCall, check::ASTDecl<TranslationUnitDecl>> { 66 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager &Mgr, 137 void UnixAPIMisuseChecker::checkASTDecl(const TranslationUnitDecl *TU, in checkASTDecl()
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
| H A D | UncountedLambdaCapturesChecker.cpp | 24 : 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 D | NoUncountedMembersChecker.cpp | 29 : 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 D | UncountedCallArgsChecker.cpp | 29 : public Checker<check::ASTDecl<TranslationUnitDecl>> { 39 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl() 70 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
|
| H A D | UncountedLocalVarsChecker.cpp | 107 : public Checker<check::ASTDecl<TranslationUnitDecl>> { 115 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl() 186 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
|
| H A D | RefCntblBaseVirtualDtorChecker.cpp | 125 : public Checker<check::ASTDecl<TranslationUnitDecl>> { 136 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl() 197 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
|
| /src/contrib/llvm-project/clang/include/clang/Interpreter/ |
| H A D | PartialTranslationUnit.h | 25 class TranslationUnitDecl; variable 30 TranslationUnitDecl *TUPart = nullptr;
|
| /src/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTImporterSharedState.h | 25 class TranslationUnitDecl; variable 51 ASTImporterSharedState(TranslationUnitDecl &ToTU) { in ASTImporterSharedState()
|
| H A D | ASTMutationListener.h | 39 class TranslationUnitDecl; variable 174 virtual void AddedAnonymousNamespace(const TranslationUnitDecl *TU, in AddedAnonymousNamespace()
|
| H A D | Decl.h | 82 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); 130 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) { in castToDeclContext() 131 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D)); in castToDeclContext() [all …]
|
| H A D | ASTImporterLookupTable.h | 62 ASTImporterLookupTable(TranslationUnitDecl &TU);
|
| H A D | ASTImporter.h | 48 class TranslationUnitDecl; variable 365 TranslationUnitDecl *GetFromTU(Decl *ToD);
|
| /src/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.cpp | 530 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()
|
| /src/contrib/llvm-project/clang/include/clang/CrossTU/ |
| H A D | CrossTranslationUnit.h | 36 class TranslationUnitDecl; variable 209 void lazyInitImporterSharedSt(TranslationUnitDecl *ToTU); 223 llvm::DenseMap<TranslationUnitDecl *, std::unique_ptr<ASTImporter>>;
|
| /src/contrib/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
| H A D | USRLocFinder.h | 39 llvm::StringRef NewName, Decl *TranslationUnitDecl);
|
| /src/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | AnalysisBasedWarnings.h | 104 void IssueWarnings(TranslationUnitDecl *D);
|
| H A D | SemaHLSL.h | 53 void DiagnoseAvailabilityViolations(TranslationUnitDecl *TU);
|
| /src/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | MultiplexConsumer.cpp | 24 class TranslationUnitDecl; 129 void AddedAnonymousNamespace(const TranslationUnitDecl *, 270 const TranslationUnitDecl *TU, NamespaceDecl *AnonNamespace) { in AddedAnonymousNamespace()
|
| H A D | ASTMerge.cpp | 60 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
|
| /src/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/ |
| H A D | CheckerManager.h | 34 class TranslationUnitDecl; variable 444 void runCheckersOnEndOfTranslationUnit(const TranslationUnitDecl *TU, 536 CheckerFn<void (const TranslationUnitDecl *, AnalysisManager &,
|
| /src/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | BugSuppression.cpp | 159 if (Parent == nullptr || isa<TranslationUnitDecl>(Parent)) in isSuppressed()
|