/external/clang/lib/StaticAnalyzer/Checkers/ |
D | DebugCheckers.cpp | 123 class CallGraphViewer : public Checker< check::ASTDecl<TranslationUnitDecl> > { 125 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr, in checkASTDecl() 128 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); in checkASTDecl() 143 class CallGraphDumper : public Checker< check::ASTDecl<TranslationUnitDecl> > { 145 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr, in checkASTDecl() 148 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); in checkASTDecl() 173 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
|
D | PaddingChecker.cpp | 33 class PaddingChecker : public Checker<check::ASTDecl<TranslationUnitDecl>> { 40 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl() 67 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
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()
|
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()
|
D | CloneChecker.cpp | 44 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, 66 void CloneChecker::checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
D | UncountedLambdaCapturesChecker.cpp | 23 : public Checker<check::ASTDecl<TranslationUnitDecl>> { 30 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl() 54 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
|
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()
|
D | RefCntblBaseVirtualDtorChecker.cpp | 23 : public Checker<check::ASTDecl<TranslationUnitDecl>> { 34 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl() 58 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
|
D | UncountedCallArgsChecker.cpp | 29 : public Checker<check::ASTDecl<TranslationUnitDecl>> { 37 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl() 61 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
|
D | UncountedLocalVarsChecker.cpp | 129 : public Checker<check::ASTDecl<TranslationUnitDecl>> { 137 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl() 161 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
|
/external/llvm-project/clang/unittests/AST/ |
D | ASTImporterVisibilityTest.cpp | 123 TranslationUnitDecl *FromTu = getTuDecl(Code, Lang_CXX14, "input0.cc"); in TypedTest_ImportChain() 245 TranslationUnitDecl *ToTu = getToTuDecl(getCode0(), Lang_CXX14); in TypedTest_ImportAfter() 246 TranslationUnitDecl *FromTu = in TypedTest_ImportAfter() 265 TranslationUnitDecl *FromTu0 = in TypedTest_ImportAfterImport() 267 TranslationUnitDecl *FromTu1 = in TypedTest_ImportAfterImport() 283 TranslationUnitDecl *ToTu = getToTuDecl(getCode0(), Lang_CXX14); in TypedTest_ImportAfterWithMerge() 284 TranslationUnitDecl *FromTu = in TypedTest_ImportAfterWithMerge() 305 TranslationUnitDecl *FromTu0 = in TypedTest_ImportAfterImportWithMerge() 307 TranslationUnitDecl *FromTu1 = in TypedTest_ImportAfterImportWithMerge()
|
D | ASTImporterTest.cpp | 2103 TranslationUnitDecl *FromTu = getTuDecl(Code, Lang_C99, "input0.c"); in TEST_P() 2118 TranslationUnitDecl *FromTu = in TEST_P() 2224 EXPECT_TRUE(MatchVerifier<TranslationUnitDecl>().match( in TEST_P() 2485 TranslationUnitDecl *FromTU = in TEST_P() 2502 TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl(); in TEST_P() 2519 TranslationUnitDecl *FromTU = in TEST_P() 2548 TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl(); in TEST_P() 2569 TranslationUnitDecl *FromTU = getTuDecl("void f();" in TEST_P() 2591 TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl(); in TEST_P() 2611 TranslationUnitDecl *FromNormalTU = in TEST_P() [all …]
|
D | ASTImporterFixtures.cpp | 110 void ASTImporterTestBase::lazyInitSharedState(TranslationUnitDecl *ToTU) { in lazyInitSharedState() 173 TranslationUnitDecl *ASTImporterTestBase::getTuDecl(StringRef SrcCode, in getTuDecl() 187 TranslationUnitDecl *ASTImporterTestBase::getToTuDecl(StringRef ToSrcCode, in getToTuDecl()
|
D | ASTImporterFixtures.h | 114 TranslationUnitDecl *TUDecl = nullptr; 147 void lazyInitSharedState(TranslationUnitDecl *ToTU); 173 TranslationUnitDecl *getTuDecl(StringRef SrcCode, TestLanguage Lang, 177 TranslationUnitDecl *getToTuDecl(StringRef ToSrcCode, TestLanguage ToLang);
|
/external/llvm-project/clang/include/clang/AST/ |
D | ASTImporterSharedState.h | 26 class TranslationUnitDecl; variable 49 ASTImporterSharedState(TranslationUnitDecl &ToTU) { in ASTImporterSharedState()
|
D | ASTImporterLookupTable.h | 63 ASTImporterLookupTable(TranslationUnitDecl &TU);
|
/external/llvm-project/clang-tools-extra/clang-tidy/llvm/ |
D | PreferRegisterOverUnsignedCheck.cpp | 45 if (isa<TranslationUnitDecl>(Namespace->getDeclContext()) && in check() 50 if (isa<TranslationUnitDecl>(Namespace->getDeclContext()) && in check()
|
/external/llvm-project/clang/lib/Tooling/Refactoring/Rename/ |
D | USRLocFinder.cpp | 511 llvm::StringRef NewName, Decl *TranslationUnitDecl) { in createRenameAtomicChanges() argument 512 RenameLocFinder Finder(USRs, TranslationUnitDecl->getASTContext()); in createRenameAtomicChanges() 513 Finder.TraverseDecl(TranslationUnitDecl); in createRenameAtomicChanges() 516 TranslationUnitDecl->getASTContext().getSourceManager(); in createRenameAtomicChanges() 541 if (!llvm::isa<clang::TranslationUnitDecl>( in createRenameAtomicChanges() 559 SM, TranslationUnitDecl->getASTContext().getLangOpts()); in createRenameAtomicChanges()
|
/external/llvm-project/clang/unittests/Tooling/ |
D | ASTSelectionTest.cpp | 44 bool VisitTranslationUnitDecl(const TranslationUnitDecl *TU) { in VisitTranslationUnitDecl() 160 checkNode<TranslationUnitDecl>(*Node, SourceSelectionKind::None, in TEST() 729 isa<TranslationUnitDecl>(Parents[0].get().Node.get<Decl>())); in TEST() 750 isa<TranslationUnitDecl>(Parents[0].get().Node.get<Decl>())); in TEST() 804 isa<TranslationUnitDecl>(Parents[0].get().Node.get<Decl>())); in TEST() 832 isa<TranslationUnitDecl>(Parents[0].get().Node.get<Decl>())); in TEST() 862 isa<TranslationUnitDecl>(Parents[0].get().Node.get<Decl>())); in TEST() 890 isa<TranslationUnitDecl>(Parents[0].get().Node.get<Decl>())); in TEST() 939 isa<TranslationUnitDecl>(Parents[0].get().Node.get<Decl>())); in TEST() 963 isa<TranslationUnitDecl>(Parents[0].get().Node.get<Decl>())); in TEST()
|
D | LexicallyOrderedRecursiveASTVisitorTest.cpp | 53 bool VisitTranslationUnitDecl(TranslationUnitDecl *TU) { in VisitTranslationUnitDecl() 77 if (isa<TranslationUnitDecl>(D)) { in VisitNamedDecl()
|
/external/llvm-project/clang/include/clang/CrossTU/ |
D | CrossTranslationUnit.h | 35 class TranslationUnitDecl; variable 200 void lazyInitImporterSharedSt(TranslationUnitDecl *ToTU); 214 llvm::DenseMap<TranslationUnitDecl *, std::unique_ptr<ASTImporter>>;
|
/external/llvm-project/clang/unittests/CrossTU/ |
D | CrossTranslationUnitTest.cpp | 33 auto FindFInTU = [](const TranslationUnitDecl *TU) { in HandleTranslationUnit() 43 const TranslationUnitDecl *TU = Ctx.getTranslationUnitDecl(); in HandleTranslationUnit() 103 TranslationUnitDecl *OrigTU = in HandleTranslationUnit()
|
/external/llvm-project/clang/include/clang/Tooling/Refactoring/Rename/ |
D | USRLocFinder.h | 39 llvm::StringRef NewName, Decl *TranslationUnitDecl);
|
/external/llvm-project/clang/utils/ |
D | make-ast-dump-check.sh | 62 /TranslationUnitDecl/ {
|
/external/llvm-project/clang-tools-extra/clang-tidy/misc/ |
D | NoRecursionCheck.cpp | 258 const auto *TU = Result.Nodes.getNodeAs<TranslationUnitDecl>("TUDecl"); in check() 260 CG.addToCallGraph(const_cast<TranslationUnitDecl *>(TU)); in check()
|