Home
last modified time | relevance | path

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

123

/external/clang/lib/StaticAnalyzer/Checkers/
DDebugCheckers.cpp123 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()
DPaddingChecker.cpp33 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()
DCheckerDocumentation.cpp189 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
DLLVMConventionsChecker.cpp48 return isa<TranslationUnitDecl>(ND->getDeclContext()); in InNamespace()
/external/clang/lib/Tooling/Core/
DLookup.cpp99 isa<TranslationUnitDecl>(FromDecl->getDeclContext()); in replaceNestedName()
/external/clang/docs/
DClangCheck.rst22 (TranslationUnitDecl 0x7ff3a3029ed0 <<invalid sloc>>
DIntroductionToTheClangAST.rst52 TranslationUnitDecl 0x5aea0d0 <<invalid sloc>>
112 `TranslationUnitDecl <http://clang.llvm.org/doxygen/classclang_1_1TranslationUnitDecl.html>`_
/external/clang/lib/Frontend/
DASTMerge.cpp61 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
DASTConsumers.cpp44 TranslationUnitDecl *D = Context.getTranslationUnitDecl(); in HandleTranslationUnit()
/external/clang/lib/AST/
DDecl.cpp47 TranslationUnitDecl::TranslationUnitDecl(ASTContext &ctx) in TranslationUnitDecl() function in TranslationUnitDecl
660 !isa<TranslationUnitDecl>(DC); in getLVForNamespaceScopeDecl()
2445 const TranslationUnitDecl *tunit = in isMain()
2446 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
2453 const TranslationUnitDecl *TUnit = in isMSVCRTEntryPoint()
2454 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
2494 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
3791 void TranslationUnitDecl::anchor() { } in anchor()
3793 TranslationUnitDecl *TranslationUnitDecl::Create(ASTContext &C) { in Create()
3794 return new (C, (DeclContext *)nullptr) TranslationUnitDecl(C); in Create()
[all …]
DDeclBase.cpp296 TranslationUnitDecl *Decl::getTranslationUnitDecl() { in getTranslationUnitDecl()
297 if (TranslationUnitDecl *TUD = dyn_cast<TranslationUnitDecl>(this)) in getTranslationUnitDecl()
308 return cast<TranslationUnitDecl>(DC); in getTranslationUnitDecl()
746 if (isa<TranslationUnitDecl>(this) || in AccessDeclContextSanity()
DMangle.cpp235 assert((isa<TranslationUnitDecl>(DC) || isa<NamedDecl>(DC)) && in mangleBlock()
DDeclPrinter.cpp57 void VisitTranslationUnitDecl(TranslationUnitDecl *D);
187 ASTContext &Ctx = cast<TranslationUnitDecl>(DC)->getASTContext(); in dumpDeclContext()
370 void DeclPrinter::VisitTranslationUnitDecl(TranslationUnitDecl *D) { in VisitTranslationUnitDecl()
/external/clang/include/clang/AST/
DDecl.h79 class TranslationUnitDecl : public Decl, public DeclContext {
87 explicit TranslationUnitDecl(ASTContext &ctx);
94 static TranslationUnitDecl *Create(ASTContext &C);
98 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) { in castToDeclContext()
99 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D)); in castToDeclContext()
101 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
102 return static_cast<TranslationUnitDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
126 explicit ExternCContextDecl(TranslationUnitDecl *TU) in ExternCContextDecl()
131 TranslationUnitDecl *TU);
DDeclBase.h55 class TranslationUnitDecl; variable
407 TranslationUnitDecl *getTranslationUnitDecl();
408 const TranslationUnitDecl *getTranslationUnitDecl() const { in getTranslationUnitDecl()
DASTContext.h404 TranslationUnitDecl *TUDecl;
873 TranslationUnitDecl *getTranslationUnitDecl() const { return TUDecl; } in getTranslationUnitDecl()
/external/clang/include/clang/StaticAnalyzer/Core/
DCheckerManager.h375 void runCheckersOnEndOfTranslationUnit(const TranslationUnitDecl *TU,
463 typedef CheckerFn<void (const TranslationUnitDecl *,
DChecker.h66 const TranslationUnitDecl *TU, in _checkEndOfTranslationUnit()
/external/clang/lib/ARCMigrate/
DTransforms.h123 void traverse(TranslationUnitDecl *TU);
DTransGCAttrs.cpp124 if (isa<TranslationUnitDecl>(D)) in isMigratable()
DTransforms.cpp514 void MigrationContext::traverse(TranslationUnitDecl *TU) { in traverse()
/external/clang/tools/libclang/
DCursorVisitor.h205 bool VisitTranslationUnitDecl(TranslationUnitDecl *D);
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp523 TranslationUnitDecl *TU = C.getTranslationUnitDecl(); in HandleTranslationUnit()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp615 if (Node.get<TranslationUnitDecl>() == in memoizedMatchesAncestorOfRecursively()
/external/clang/lib/StaticAnalyzer/Core/
DCheckerManager.cpp599 const TranslationUnitDecl *TU, in runCheckersOnEndOfTranslationUnit()

123