Home
last modified time | relevance | path

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

1234

/netbsd/external/apache2/llvm/dist/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 DCloneChecker.cpp44 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU,
66 void CloneChecker::checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
H A DCheckerDocumentation.cpp212 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DUncountedLambdaCapturesChecker.cpp23 : 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 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 DRefCntblBaseVirtualDtorChecker.cpp23 : 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 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 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()
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTImporterSharedState.h26 class TranslationUnitDecl; variable
49 ASTImporterSharedState(TranslationUnitDecl &ToTU) { in ASTImporterSharedState()
H A DASTImporterLookupTable.h63 ASTImporterLookupTable(TranslationUnitDecl &TU);
H A DDecl.h82 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 DASTImporter.h49 class TranslationUnitDecl; variable
389 TranslationUnitDecl *GetFromTU(Decl *ToD);
/netbsd/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/Rename/
H A DUSRLocFinder.cpp529 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 DCrossTranslationUnit.h36 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 DUSRLocFinder.h39 llvm::StringRef NewName, Decl *TranslationUnitDecl);
/netbsd/external/apache2/llvm/dist/clang/utils/
H A Dmake-ast-dump-check.sh62 /TranslationUnitDecl/ {
/netbsd/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h35 class TranslationUnitDecl; variable
445 void runCheckersOnEndOfTranslationUnit(const TranslationUnitDecl *TU,
540 CheckerFn<void (const TranslationUnitDecl *, AnalysisManager &,
/netbsd/external/apache2/llvm/dist/clang/docs/
H A DClangCheck.rst22 (TranslationUnitDecl 0x7ff3a3029ed0 <<invalid sloc>>
H A DIntroductionToTheClangAST.rst52 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 DASTMerge.cpp60 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaModule.cpp42 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 DDecl.cpp103 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 DASTImporterLookupTable.cpp84 ASTImporterLookupTable::ASTImporterLookupTable(TranslationUnitDecl &TU) { in ASTImporterLookupTable()
/netbsd/external/apache2/llvm/dist/clang/lib/Tooling/Refactoring/
H A DLookup.cpp203 isa<TranslationUnitDecl>(FromDecl->getDeclContext()); in replaceNestedName()

1234