Home
last modified time | relevance | path

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

123

/external/clang/lib/StaticAnalyzer/Checkers/
DDebugCheckers.cpp120 class CallGraphViewer : public Checker< check::ASTDecl<TranslationUnitDecl> > {
122 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr, in checkASTDecl()
125 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); in checkASTDecl()
140 class CallGraphDumper : public Checker< check::ASTDecl<TranslationUnitDecl> > {
142 void checkASTDecl(const TranslationUnitDecl *TU, AnalysisManager& mgr, in checkASTDecl()
145 CG.addToCallGraph(const_cast<TranslationUnitDecl*>(TU)); in checkASTDecl()
170 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
DCheckerDocumentation.cpp179 void checkEndOfTranslationUnit(const TranslationUnitDecl *TU, in checkEndOfTranslationUnit()
DLLVMConventionsChecker.cpp48 return isa<TranslationUnitDecl>(ND->getDeclContext()); in InNamespace()
/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.cpp59 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
DASTConsumers.cpp44 TranslationUnitDecl *D = Context.getTranslationUnitDecl(); in HandleTranslationUnit()
/external/lldb/include/lldb/Core/
DClangForward.h118 class TranslationUnitDecl; variable
/external/clang/lib/AST/
DDeclBase.cpp258 TranslationUnitDecl *Decl::getTranslationUnitDecl() { in getTranslationUnitDecl()
259 if (TranslationUnitDecl *TUD = dyn_cast<TranslationUnitDecl>(this)) in getTranslationUnitDecl()
270 return cast<TranslationUnitDecl>(DC); in getTranslationUnitDecl()
706 if (isa<TranslationUnitDecl>(this) || in AccessDeclContextSanity()
DDecl.cpp653 !isa<TranslationUnitDecl>(DC); in getLVForNamespaceScopeDecl()
2416 const TranslationUnitDecl *tunit = in isMain()
2417 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMain()
2424 const TranslationUnitDecl *TUnit = in isMSVCRTEntryPoint()
2425 dyn_cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()); in isMSVCRTEntryPoint()
2465 cast<TranslationUnitDecl>(getDeclContext()->getRedeclContext()) in isReservedGlobalPlacementOperator()
3783 void TranslationUnitDecl::anchor() { } in anchor()
3785 TranslationUnitDecl *TranslationUnitDecl::Create(ASTContext &C) { in Create()
3786 return new (C, (DeclContext *)nullptr) TranslationUnitDecl(C); in Create()
3792 TranslationUnitDecl *DC) { in Create()
DMangle.cpp237 assert((isa<TranslationUnitDecl>(DC) || isa<NamedDecl>(DC)) && in mangleBlock()
DDeclPrinter.cpp48 void VisitTranslationUnitDecl(TranslationUnitDecl *D);
177 ASTContext &Ctx = cast<TranslationUnitDecl>(DC)->getASTContext(); in dumpDeclContext()
332 void DeclPrinter::VisitTranslationUnitDecl(TranslationUnitDecl *D) { in VisitTranslationUnitDecl()
DASTImporter.cpp133 Decl *VisitTranslationUnitDecl(TranslationUnitDecl *D);
2250 Decl *ASTNodeImporter::VisitTranslationUnitDecl(TranslationUnitDecl *D) { in VisitTranslationUnitDecl()
2251 TranslationUnitDecl *ToD = in VisitTranslationUnitDecl()
2272 if (TranslationUnitDecl *TU = dyn_cast<TranslationUnitDecl>(DC)) in VisitNamespaceDecl()
2314 if (TranslationUnitDecl *TU = dyn_cast<TranslationUnitDecl>(DC)) in VisitNamespaceDecl()
/external/clang/include/clang/AST/
DDecl.h77 class TranslationUnitDecl : public Decl, public DeclContext {
85 explicit TranslationUnitDecl(ASTContext &ctx) in TranslationUnitDecl() function
95 static TranslationUnitDecl *Create(ASTContext &C);
99 static DeclContext *castToDeclContext(const TranslationUnitDecl *D) { in castToDeclContext()
100 return static_cast<DeclContext *>(const_cast<TranslationUnitDecl*>(D)); in castToDeclContext()
102 static TranslationUnitDecl *castFromDeclContext(const DeclContext *DC) { in castFromDeclContext()
103 return static_cast<TranslationUnitDecl *>(const_cast<DeclContext*>(DC)); in castFromDeclContext()
127 explicit ExternCContextDecl(TranslationUnitDecl *TU) in ExternCContextDecl()
132 TranslationUnitDecl *TU);
DDeclBase.h55 class TranslationUnitDecl; variable
395 TranslationUnitDecl *getTranslationUnitDecl();
396 const TranslationUnitDecl *getTranslationUnitDecl() const { in getTranslationUnitDecl()
DASTContext.h385 TranslationUnitDecl *TUDecl;
784 TranslationUnitDecl *getTranslationUnitDecl() const { return TUDecl; } in getTranslationUnitDecl()
/external/clang/include/clang/StaticAnalyzer/Core/
DCheckerManager.h360 void runCheckersOnEndOfTranslationUnit(const TranslationUnitDecl *TU,
448 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.cpp518 void MigrationContext::traverse(TranslationUnitDecl *TU) { in traverse()
/external/clang/tools/libclang/
DCursorVisitor.h204 bool VisitTranslationUnitDecl(TranslationUnitDecl *D);
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCTypeVendor.cpp157 …clang::TranslationUnitDecl *translation_unit_decl = m_type_vendor.m_ast_ctx.getASTContext()->getTr… in StartTranslationUnit()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp519 TranslationUnitDecl *TU = C.getTranslationUnitDecl(); in HandleTranslationUnit()
/external/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARF.h565 clang::TranslationUnitDecl * m_clang_tu_decl;

123