Home
last modified time | relevance | path

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

1234

/openbsd-src/gnu/llvm/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 DErrnoModeling.cpp47 : public Checker<check::ASTDecl<TranslationUnitDecl>, check::BeginFunction,
50 void checkASTDecl(const TranslationUnitDecl *D, AnalysisManager &Mgr,
118 void ErrnoModeling::checkASTDecl(const TranslationUnitDecl *D, in checkASTDecl()
H A DCheckerDocumentation.cpp212 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
/openbsd-src/gnu/llvm/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.cpp30 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
42 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
66 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 DUncountedCallArgsChecker.cpp30 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
38 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
62 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
H A DUncountedLocalVarsChecker.cpp130 : public Checker<check::ASTDecl<TranslationUnitDecl>> {
138 void checkASTDecl(const TranslationUnitDecl *TUD, AnalysisManager &MGR, in checkASTDecl()
162 visitor.TraverseDecl(const_cast<TranslationUnitDecl *>(TUD)); in checkASTDecl()
/openbsd-src/gnu/llvm/clang/include/clang/Interpreter/
H A DPartialTranslationUnit.h25 class TranslationUnitDecl; variable
30 TranslationUnitDecl *TUPart = nullptr;
/openbsd-src/gnu/llvm/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.h80 class TranslationUnitDecl : public Decl,
82 public Redeclarable<TranslationUnitDecl> {
83 using redeclarable_base = Redeclarable<TranslationUnitDecl>;
85 TranslationUnitDecl *getNextRedeclarationImpl() override { in getNextRedeclarationImpl()
89 TranslationUnitDecl *getPreviousDeclImpl() override { in getPreviousDeclImpl()
93 TranslationUnitDecl *getMostRecentDeclImpl() override { in getMostRecentDeclImpl()
103 explicit TranslationUnitDecl(ASTContext &ctx);
123 static TranslationUnitDecl *Create(ASTContext &C);
128 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) { in castToDeclContext()
129 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D)); in castToDeclContext()
[all …]
H A DASTImporter.h48 class TranslationUnitDecl; variable
364 TranslationUnitDecl *GetFromTU(Decl *ToD);
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/clang/include/clang/CrossTU/
H A DCrossTranslationUnit.h36 class TranslationUnitDecl; variable
209 void lazyInitImporterSharedSt(TranslationUnitDecl *ToTU);
223 llvm::DenseMap<TranslationUnitDecl *, std::unique_ptr<ASTImporter>>;
/openbsd-src/gnu/llvm/clang/include/clang/Tooling/Refactoring/Rename/
H A DUSRLocFinder.h39 llvm::StringRef NewName, Decl *TranslationUnitDecl);
/openbsd-src/gnu/llvm/clang/utils/
H A Dmake-ast-dump-check.sh62 /TranslationUnitDecl/ {
/openbsd-src/gnu/llvm/clang/lib/Interpreter/
H A DIncrementalParser.cpp282 TranslationUnitDecl *MostRecentTU = PTU.TUPart; in CleanUpPTU()
283 TranslationUnitDecl *FirstTU = MostRecentTU->getFirstDecl(); in CleanUpPTU()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h34 class TranslationUnitDecl; variable
444 void runCheckersOnEndOfTranslationUnit(const TranslationUnitDecl *TU,
539 CheckerFn<void (const TranslationUnitDecl *, AnalysisManager &,
/openbsd-src/gnu/llvm/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>`_
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DASTMerge.cpp60 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DDeclBase.cpp413 TranslationUnitDecl *Decl::getTranslationUnitDecl() { in getTranslationUnitDecl()
414 if (auto *TUD = dyn_cast<TranslationUnitDecl>(this)) in getTranslationUnitDecl()
425 return cast<TranslationUnitDecl>(DC); in getTranslationUnitDecl()
996 if (isa<TranslationUnitDecl>(this) || isa<TemplateTypeParmDecl>(this) || in AccessDeclContextCheck()
1287 return static_cast<TranslationUnitDecl *>(this)->getFirstDecl(); in getPrimaryContext()
1356 collectAllContextsImpl(static_cast<TranslationUnitDecl *>(this), Contexts); in collectAllContexts()

1234