/netbsd/external/apache2/llvm/dist/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 | 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 | 44 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, 66 void CloneChecker::checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
|
H A D | CheckerDocumentation.cpp | 212 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
|
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/ |
H A 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()
|
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 | 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()
|
H A 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()
|
H A 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()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/ |
H A D | ASTImporterSharedState.h | 26 class TranslationUnitDecl; variable 49 ASTImporterSharedState(TranslationUnitDecl &ToTU) { in ASTImporterSharedState()
|
H A D | ASTImporterLookupTable.h | 63 ASTImporterLookupTable(TranslationUnitDecl &TU);
|
H A D | Decl.h | 82 class TranslationUnitDecl : public Decl, public DeclContext { 89 explicit TranslationUnitDecl(ASTContext &ctx); 99 static TranslationUnitDecl *Create(ASTContext &C); 104 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) { in castToDeclContext() 105 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D)); in castToDeclContext() 107 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext() 123 PragmaCommentDecl(TranslationUnitDecl *TU, SourceLocation CommentLoc, in PragmaCommentDecl() 157 PragmaDetectMismatchDecl(TranslationUnitDecl *TU, SourceLocation Loc, in PragmaDetectMismatchDecl() 165 TranslationUnitDecl *DC, 197 explicit ExternCContextDecl(TranslationUnitDecl *TU) in ExternCContextDecl() [all …]
|
H A D | ASTImporter.h | 49 class TranslationUnitDecl; variable 389 TranslationUnitDecl *GetFromTU(Decl *ToD);
|
/netbsd/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/ |
H A D | USRLocFinder.cpp | 529 llvm::StringRef NewName, Decl *TranslationUnitDecl) { in createRenameAtomicChanges() argument 530 RenameLocFinder Finder(USRs, TranslationUnitDecl->getASTContext()); in createRenameAtomicChanges() 531 Finder.TraverseDecl(TranslationUnitDecl); in createRenameAtomicChanges() 534 TranslationUnitDecl->getASTContext().getSourceManager(); in createRenameAtomicChanges() 559 if (!llvm::isa<clang::TranslationUnitDecl>( in createRenameAtomicChanges() 577 SM, TranslationUnitDecl->getASTContext().getLangOpts()); in createRenameAtomicChanges()
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/CrossTU/ |
H A D | CrossTranslationUnit.h | 36 class TranslationUnitDecl; variable 198 void lazyInitImporterSharedSt(TranslationUnitDecl *ToTU); 212 llvm::DenseMap<TranslationUnitDecl *, std::unique_ptr<ASTImporter>>;
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/Tooling/Refactoring/Rename/ |
H A D | USRLocFinder.h | 39 llvm::StringRef NewName, Decl *TranslationUnitDecl);
|
/netbsd/external/apache2/llvm/dist/clang/utils/ |
H A D | make-ast-dump-check.sh | 62 /TranslationUnitDecl/ {
|
/netbsd/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/ |
H A D | CheckerManager.h | 35 class TranslationUnitDecl; variable 445 void runCheckersOnEndOfTranslationUnit(const TranslationUnitDecl *TU, 540 CheckerFn<void (const TranslationUnitDecl *, AnalysisManager &,
|
/netbsd/external/apache2/llvm/dist/clang/docs/ |
H A D | ClangCheck.rst | 22 (TranslationUnitDecl 0x7ff3a3029ed0 <<invalid sloc>>
|
H A D | IntroductionToTheClangAST.rst | 52 TranslationUnitDecl 0x5aea0d0 <<invalid sloc>> 112 `TranslationUnitDecl <https://clang.llvm.org/doxygen/classclang_1_1TranslationUnitDecl.html>`_
|
/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/ |
H A D | ASTMerge.cpp | 60 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/ |
H A D | SemaModule.cpp | 42 if (!isa<TranslationUnitDecl>(DC)) { in checkModuleImportContext() 424 TranslationUnitDecl *TU = getASTContext().getTranslationUnitDecl(); in BuildModuleInclude() 510 TranslationUnitDecl *TU = getASTContext().getTranslationUnitDecl(); in createImplicitModuleImportForErrorRecovery()
|
/netbsd/external/apache2/llvm/dist/clang/lib/AST/ |
H A D | Decl.cpp | 103 TranslationUnitDecl::TranslationUnitDecl(ASTContext &ctx) in TranslationUnitDecl() function in TranslationUnitDecl 718 !isa<TranslationUnitDecl>(DC); in getLVForNamespaceScopeDecl() 3036 const TranslationUnitDecl *tunit = in isMain() 3037 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain() 3044 const TranslationUnitDecl *TUnit = in isMSVCRTEntryPoint() 3085 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator() 4732 void TranslationUnitDecl::anchor() {} in anchor() 4734 TranslationUnitDecl *TranslationUnitDecl::Create(ASTContext &C) { in Create() 4735 return new (C, (DeclContext *)nullptr) TranslationUnitDecl(C); in Create() 4741 TranslationUnitDecl *DC, in Create() [all …]
|
H A D | ASTImporterLookupTable.cpp | 84 ASTImporterLookupTable::ASTImporterLookupTable(TranslationUnitDecl &TU) { in ASTImporterLookupTable()
|
/netbsd/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/ |
H A D | Lookup.cpp | 203 isa<TranslationUnitDecl>(FromDecl->getDeclContext()); in replaceNestedName()
|