reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/examples/PrintFunctionNames/PrintFunctionNames.cpp
   68     v.TraverseDecl(context.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 1853   TranslationUnitDecl *TU = Ctx.getTranslationUnitDecl();
tools/clang/lib/ARCMigrate/TransAPIUses.cpp
  106   APIChecker(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransARCAssign.cpp
   76   assignCheck.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransAutoreleasePool.cpp
  433   trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransEmptyStatementsAndDealloc.cpp
  196   DeclContext *DC = Ctx.getTranslationUnitDecl();
  241   EmptyStatementsRemover(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp
  326                                   MigrateCtx.Pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransRetainReleaseDealloc.cpp
  458   trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransUnbridgedCasts.cpp
  465   trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransUnusedInitDelegate.cpp
   76   trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/TransZeroOutPropsInDealloc.cpp
  225   trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/ARCMigrate/Transforms.cpp
  520   DeclContext *DC = Ctx.getTranslationUnitDecl();
  568   MigrateCtx.traverse(pass.Ctx.getTranslationUnitDecl());
tools/clang/lib/AST/ASTContext.cpp
  696                   TemplateTypeParmDecl::Create(*this, getTranslationUnitDecl(),
  715         Param = NonTypeTemplateParmDecl::Create(*this, getTranslationUnitDecl(),
  725         Param = NonTypeTemplateParmDecl::Create(*this, getTranslationUnitDecl(),
  746     = TemplateTemplateParmDecl::Create(*this, getTranslationUnitDecl(),
 1120     ExternCContext = ExternCContextDecl::Create(*this, getTranslationUnitDecl());
 1156     NewDecl = CXXRecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc,
 1159     NewDecl = RecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, Loc,
 1171       const_cast<ASTContext &>(*this), getTranslationUnitDecl(),
 7325       = ObjCInterfaceDecl::Create(*this, getTranslationUnitDecl(),
 7369                                Context->getTranslationUnitDecl(),
 7558                                Context->getTranslationUnitDecl(),
tools/clang/lib/AST/ASTImporter.cpp
 2116     Importer.getToContext().getTranslationUnitDecl();
 3793   DeclContext *DC = Importer.getToContext().getTranslationUnitDecl();
 3837   DeclContext *DC = Importer.getToContext().getTranslationUnitDecl();
 4961       Importer.getToContext().getTranslationUnitDecl(),
 4988       Importer.getToContext().getTranslationUnitDecl(),
 5017       Importer.getToContext().getTranslationUnitDecl(), *LocationOrErr,
 7792   ImportedDecls[FromContext.getTranslationUnitDecl()] =
 7793       ToContext.getTranslationUnitDecl();
tools/clang/lib/AST/ComparisonCategories.cpp
   72         Ctx.getTranslationUnitDecl()->lookup(&Ctx.Idents.get("std"));
tools/clang/lib/AST/ExternalASTMerger.cpp
  290           Importer->getFromContext().getTranslationUnitDecl();
  374       LookupSameContext(Origin.AST->getTranslationUnitDecl(), ToDC, Reverse);
  400       *Target.AST.getTranslationUnitDecl());
tools/clang/lib/AST/ItaniumMangle.cpp
   70       return VD->getASTContext().getTranslationUnitDecl();
   74       return FD->getASTContext().getTranslationUnitDecl();
tools/clang/lib/CodeGen/CGBlocks.cpp
 2033       C, C.getTranslationUnitDecl(), SourceLocation(), SourceLocation(), II,
 2225       C, C.getTranslationUnitDecl(), SourceLocation(), SourceLocation(), II,
 2477       Context, Context.getTranslationUnitDecl(), SourceLocation(),
 2552       Context, Context.getTranslationUnitDecl(), SourceLocation(),
 2952     TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl();
tools/clang/lib/CodeGen/CGBuiltin.cpp
 1181       Ctx, Ctx.getTranslationUnitDecl(), SourceLocation(), SourceLocation(), II,
tools/clang/lib/CodeGen/CGCUDANV.cpp
  275   TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl();
tools/clang/lib/CodeGen/CGDebugInfo.cpp
 3317     DC = CGM.getContext().getTranslationUnitDecl();
 4500         cast<Decl>(CGM.getContext().getTranslationUnitDecl()), TheCU);
tools/clang/lib/CodeGen/CGExprCXX.cpp
 1322   for (auto *Decl : Ctx.getTranslationUnitDecl()->lookup(Name))
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp
  463         Ctx, Ctx.getTranslationUnitDecl(), SourceLocation(), SourceLocation(),
tools/clang/lib/CodeGen/CGObjC.cpp
 3518       C, C.getTranslationUnitDecl(), SourceLocation(), SourceLocation(), II,
 3602       C, C.getTranslationUnitDecl(), SourceLocation(), SourceLocation(), II,
tools/clang/lib/CodeGen/CGObjCGNU.cpp
 1224         TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl();
 2302       TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl();
tools/clang/lib/CodeGen/CGObjCMac.cpp
 5650                                       Ctx.getTranslationUnitDecl(),
 6003                                       Ctx.getTranslationUnitDecl(),
 6355   TranslationUnitDecl *TUDecl = CGM.getContext().getTranslationUnitDecl();
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
  410         Ctx, Ctx.getTranslationUnitDecl(), FO.S->getBeginLoc(),
 3193         getContext(), getContext().getTranslationUnitDecl(), /*NumParams=*/0);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 3298   TranslationUnitDecl *TUDecl = C.getTranslationUnitDecl();
 4675         TranslationUnitDecl *TUDecl = Context.getTranslationUnitDecl();
tools/clang/lib/CodeGen/ItaniumCXXABI.cpp
 2431         Ctx, Ctx.getTranslationUnitDecl(), SourceLocation(), SourceLocation(),
tools/clang/lib/CrossTU/CrossTranslationUnit.cpp
  297   TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
  553   auto I = ASTUnitImporterMap.find(From.getTranslationUnitDecl());
  556   lazyInitImporterSharedSt(Context.getTranslationUnitDecl());
  565   ASTUnitImporterMap[From.getTranslationUnitDecl()].reset(NewImporter);
tools/clang/lib/Frontend/ASTConsumers.cpp
   45       TranslationUnitDecl *D = Context.getTranslationUnitDecl();
  123       TraverseDecl(Context.getTranslationUnitDecl());
tools/clang/lib/Frontend/ASTMerge.cpp
   42       *CI.getASTContext().getTranslationUnitDecl());
   60     TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
tools/clang/lib/Frontend/InterfaceStubFunctionsConsumer.cpp
  232     v.TraverseDecl(context.getTranslationUnitDecl());
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  674   TUDecl = Context->getTranslationUnitDecl();
 3784                                       Context->getTranslationUnitDecl(),
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp
  603   TUDecl = Context->getTranslationUnitDecl();
tools/clang/lib/Parse/ParseTemplate.cpp
 1456       Actions, Actions.Context.getTranslationUnitDecl());
tools/clang/lib/Sema/Sema.cpp
   74   PushDeclContext(S, Context.getTranslationUnitDecl());
tools/clang/lib/Sema/SemaAttr.cpp
  397       Context, Context.getTranslationUnitDecl(), CommentLoc, Kind, Arg);
  398   Context.getTranslationUnitDecl()->addDecl(PCD);
  405       Context, Context.getTranslationUnitDecl(), Loc, Name, Value);
  406   Context.getTranslationUnitDecl()->addDecl(PDMD);
tools/clang/lib/Sema/SemaCXXScopeSpec.cpp
  158     return Context.getTranslationUnitDecl();
tools/clang/lib/Sema/SemaCodeComplete.cpp
 5467     Ctx = Context.getTranslationUnitDecl();
 7103     AddProtocolResults(Context.getTranslationUnitDecl(), CurContext, false,
 7122     AddProtocolResults(Context.getTranslationUnitDecl(), CurContext, true,
 7159     AddInterfaceResults(Context.getTranslationUnitDecl(), CurContext, false,
 7184     AddInterfaceResults(Context.getTranslationUnitDecl(), CurContext, false,
 7202     AddInterfaceResults(Context.getTranslationUnitDecl(), CurContext, false,
 7234   TranslationUnitDecl *TU = Context.getTranslationUnitDecl();
 8797                                         Context.getTranslationUnitDecl());
 8798     LookupVisibleDecls(Context.getTranslationUnitDecl(), LookupAnyName,
tools/clang/lib/Sema/SemaDecl.cpp
 2078   DeclContext *Parent = Context.getTranslationUnitDecl();
 7460           S.Context.getTranslationUnitDecl()->lookup(ND->getDeclName());
13057       CheckParameter(Context.getTranslationUnitDecl(), D.getBeginLoc(),
tools/clang/lib/Sema/SemaDeclAttr.cpp
 7390     CurContext = Context.getTranslationUnitDecl();
tools/clang/lib/Sema/SemaDeclCXX.cpp
 9634                                          Context.getTranslationUnitDecl(),
tools/clang/lib/Sema/SemaExpr.cpp
 3213     currentDecl = Context.getTranslationUnitDecl();
tools/clang/lib/Sema/SemaExprCXX.cpp
  558       LookupQualifiedName(R, Context.getTranslationUnitDecl());
  678     LookupQualifiedName(R, Context.getTranslationUnitDecl());
 2285       S.LookupQualifiedName(R, S.Context.getTranslationUnitDecl());
 2421       LookupQualifiedName(R, Context.getTranslationUnitDecl());
 2482     LookupQualifiedName(FoundDelete, Context.getTranslationUnitDecl());
 2770   DeclContext *GlobalCtx = Context.getTranslationUnitDecl();
 2838     Context.getTranslationUnitDecl()->addDecl(Alloc);
 2859   LookupQualifiedName(FoundDelete, Context.getTranslationUnitDecl());
 3451   S.LookupQualifiedName(R, S.Context.getTranslationUnitDecl());
 4982     Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl());
 5191     Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl());
 5243     Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl());
tools/clang/lib/Sema/SemaExprObjC.cpp
  131                                      Context.getTranslationUnitDecl(),
  227     TranslationUnitDecl *TU = Context.getTranslationUnitDecl();
  816           Context.getTranslationUnitDecl(), false /*Instance*/,
  923                            Context.getTranslationUnitDecl(),
tools/clang/lib/Sema/SemaLambda.cpp
 1363         S.Context.getTranslationUnitDecl(), From->getBeginLoc(),
tools/clang/lib/Sema/SemaLookup.cpp
  790     DeclContext *Parent = Context.getTranslationUnitDecl();
 2950       Result.Namespaces.insert(Result.S.Context.getTranslationUnitDecl());
 3738       Visited.visitedContext(SemaRef.getASTContext().getTranslationUnitDecl());
 3748       Visited.visitedContext(SemaRef.getASTContext().getTranslationUnitDecl());
 4010       Entity = Result.getSema().Context.getTranslationUnitDecl();
 4492   SpecifierInfo SI = {cast<DeclContext>(Context.getTranslationUnitDecl()),
tools/clang/lib/Sema/SemaModule.cpp
   84   auto *TU = Context.getTranslationUnitDecl();
  239   auto *TU = Context.getTranslationUnitDecl();
  301   auto *TU = Context.getTranslationUnitDecl();
  426     TranslationUnitDecl *TU = getASTContext().getTranslationUnitDecl();
  512   TranslationUnitDecl *TU = getASTContext().getTranslationUnitDecl();
tools/clang/lib/Sema/SemaPseudoObject.cpp
 1197                            S.Context.getTranslationUnitDecl(),
 1303         ReturnType, ReturnTInfo, S.Context.getTranslationUnitDecl(),
tools/clang/lib/Sema/SemaTemplate.cpp
  991       Context, Context.getTranslationUnitDecl(), KeyLoc, ParamNameLoc, Depth,
 1195       Context, Context.getTranslationUnitDecl(), D.getBeginLoc(),
 1264     TemplateTemplateParmDecl::Create(Context, Context.getTranslationUnitDecl(),
tools/clang/lib/Sema/SemaTemplateInstantiate.cpp
 1853   ParmVarDecl *NewParm = CheckParameter(Context.getTranslationUnitDecl(),
tools/clang/lib/Sema/SemaType.cpp
 2994                 SemaRef.Context, SemaRef.Context.getTranslationUnitDecl(),
tools/clang/lib/Sema/TreeTransform.h
 3228     TranslationUnitDecl *TUDecl = SemaRef.Context.getTranslationUnitDecl();
tools/clang/lib/Serialization/ASTReader.cpp
 2952         DeclContext *DC = Ctx->getTranslationUnitDecl();
 3146       DeclContext *TU = ContextObj->getTranslationUnitDecl();
 4804                                       Context.getTranslationUnitDecl());
 7787     return Context.getTranslationUnitDecl();
tools/clang/lib/Serialization/ASTReaderDecl.cpp
  572     D->setDeclContext(Reader.getContext().getTranslationUnitDecl());
 3897   D->setDeclContext(Context.getTranslationUnitDecl());
tools/clang/lib/Serialization/ASTWriter.cpp
 4760   RegisterPredefDecl(Context.getTranslationUnitDecl(),
 4905   const TranslationUnitDecl *TU = Context.getTranslationUnitDecl();
tools/clang/lib/StaticAnalyzer/Checkers/CloneChecker.cpp
  104       Mgr.getAnalysisDeclContext(ACtx.getTranslationUnitDecl()));
  164       Mgr.getAnalysisDeclContext(ACtx.getTranslationUnitDecl());
tools/clang/lib/StaticAnalyzer/Frontend/AnalysisConsumer.cpp
  604   TranslationUnitDecl *TU = C.getTranslationUnitDecl();
tools/clang/lib/Tooling/ASTDiff/ASTDiff.cpp
  973           this, AST.getTranslationUnitDecl(), AST)) {}
tools/clang/lib/Tooling/Refactoring/ASTSelection.cpp
   50         SelectedASTNode(DynTypedNode::create(*Context.getTranslationUnitDecl()),
  196   Visitor.TraverseDecl(Context.getTranslationUnitDecl());
tools/clang/lib/Tooling/Refactoring/Rename/RenamingAction.cpp
   51                               Context.getASTContext().getTranslationUnitDecl());
  141       USRs, NewQualifiedName, Context.getASTContext().getTranslationUnitDecl());
  209         USRs, PrevName, Context.getTranslationUnitDecl());
  257           USRList[I], NewNames[I], Context.getTranslationUnitDecl());
tools/clang/lib/Tooling/Refactoring/Rename/USRFinder.cpp
   84   for (auto *CurrDecl : Context.getTranslationUnitDecl()->decls()) {
  130   Visitor.TraverseDecl(Context.getTranslationUnitDecl());
tools/clang/lib/Tooling/Refactoring/Rename/USRFindingAction.cpp
   70     TraverseDecl(Context.getTranslationUnitDecl());
tools/clang/tools/clang-extdef-mapping/ClangExtDefMapGen.cpp
   45     handleDecl(Context.getTranslationUnitDecl());
tools/clang/tools/clang-import-test/clang-import-test.cpp
  270   CI.getASTContext().getTranslationUnitDecl()->setHasExternalVisibleStorage();
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  316         LookupDecl(*AST.getTranslationUnitDecl(), NsSplitted.front());
tools/clang/tools/extra/clang-doc/Mapper.cpp
   23   TraverseDecl(Context.getTranslationUnitDecl());
tools/clang/tools/extra/clang-tidy/cert/DontModifyStdNamespaceCheck.cpp
   38   if (N->getParent() != Result.Context->getTranslationUnitDecl())
tools/clang/tools/extra/clangd/ParsedAST.cpp
  214   AST.getASTContext().getTranslationUnitDecl()->dump(OS, true);
tools/clang/tools/extra/clangd/Selection.cpp
  270     Nodes.back().ASTNode = DynTypedNode::create(*AST.getTranslationUnitDecl());
tools/clang/tools/extra/clangd/index/FileIndex.cpp
   89       AST.getTranslationUnitDecl()->decls().begin(),
   90       AST.getTranslationUnitDecl()->decls().end());
tools/clang/tools/extra/clangd/unittests/PrintASTTests.cpp
   52   V.TraverseDecl(AST.getASTContext().getTranslationUnitDecl());
tools/clang/tools/extra/clangd/unittests/TestTU.cpp
  131   const DeclContext *Scope = Ctx.getTranslationUnitDecl();
  151   Visitor.TraverseDecl(AST.getASTContext().getTranslationUnitDecl());
tools/clang/tools/extra/modularize/Modularize.cpp
  673         .TraverseDecl(Ctx.getTranslationUnitDecl());
  788     CompileCheckVisitor().TraverseDecl(Ctx.getTranslationUnitDecl());
tools/clang/tools/extra/unittests/clang-doc/SerializeTest.cpp
   67   auto TU = ASTUnit->getASTContext().getTranslationUnitDecl();
   77   auto TU = ASTUnit->getASTContext().getTranslationUnitDecl();
tools/clang/tools/extra/unittests/clang-tidy/OverlappingReplacementsTest.cpp
  108         .TraverseDecl(Result.Context->getTranslationUnitDecl());
tools/clang/tools/libclang/CIndex.cpp
  538                                 CXXUnit->getASTContext().getTranslationUnitDecl()))
 4177   return MakeCXCursor(CXXUnit->getASTContext().getTranslationUnitDecl(), TU);
 6220                               .getTranslationUnitDecl(),
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
  524   addContainerInMap(Ctx->getTranslationUnitDecl(), idxCont);
tools/clang/unittests/AST/ASTContextParentMapTest.cpp
   88   auto &TU = *Ctx.getTranslationUnitDecl();
tools/clang/unittests/AST/ASTImporterFixtures.cpp
   46       TUDecl(Unit->getASTContext().getTranslationUnitDecl()), Creator(C),
  125   lazyInitSharedState(ToAST->getASTContext().getTranslationUnitDecl());
  160   FromCtx.getTranslationUnitDecl()->localUncachedLookup(ImportDeclName,
  191   return ToAST->getASTContext().getTranslationUnitDecl();
  227     Tu.Unit->getASTContext().getTranslationUnitDecl()->dump();
  232     ToAST->getASTContext().getTranslationUnitDecl()->dump();
tools/clang/unittests/AST/ASTImporterGenericRedeclTest.cpp
  379     Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
tools/clang/unittests/AST/ASTImporterTest.cpp
   50       ToCtx.getTranslationUnitDecl()->print(ToNothing);
  302     for (Decl *D : getToContext().getTranslationUnitDecl()->decls()) {
 1874   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 1907   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2124   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2162   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2194   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2254   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2345   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2414   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2531   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2549   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2567   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2585   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2608   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2637   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2667   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2695   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2741   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2785   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2826   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 2866   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 3245   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 3829   Decl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4067   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4090   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4114   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4147     auto *TU = ToAST->getASTContext().getTranslationUnitDecl();
 4176   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4216     auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4822   auto *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4922   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 4953   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 5572   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
 5596   TranslationUnitDecl *ToTU = ToAST->getASTContext().getTranslationUnitDecl();
tools/clang/unittests/AST/EvaluateAsRValueTest.cpp
   73       Evaluator.TraverseDecl(Ctx.getTranslationUnitDecl());
tools/clang/unittests/AST/ExternalASTSourceTest.cpp
   33     getCompilerInstance().getASTContext().getTranslationUnitDecl()
tools/clang/unittests/AST/StructuralEquivalenceTest.cpp
   38         AST0->getASTContext().getTranslationUnitDecl(), Matcher0);
   40         AST1->getASTContext().getTranslationUnitDecl(), Matcher1);
   56     return std::make_tuple(AST0->getASTContext().getTranslationUnitDecl(),
   57                            AST1->getASTContext().getTranslationUnitDecl());
tools/clang/unittests/Analysis/CloneDetectionTest.cpp
   60   auto TU = ASTUnit->getASTContext().getTranslationUnitDecl();
tools/clang/unittests/CrossTU/CrossTranslationUnitTest.cpp
   41     const TranslationUnitDecl *TU = Ctx.getTranslationUnitDecl();
   98               OrigUnit->getASTContext().getTranslationUnitDecl();
tools/clang/unittests/Frontend/FrontendActionTest.cpp
   67       TraverseDecl(context.getTranslationUnitDecl());
tools/clang/unittests/Index/IndexTests.cpp
  132             Ctx.getTranslationUnitDecl()->decls().begin(),
  133             Ctx.getTranslationUnitDecl()->decls().end());
tools/clang/unittests/Sema/ExternalSemaSourceTest.cpp
  119         DestContext = Context.getTranslationUnitDecl();
  161         DestContext = Context.getTranslationUnitDecl();
tools/clang/unittests/Tooling/ExecutionTest.cpp
   44     TraverseDecl(Context.getTranslationUnitDecl());
tools/clang/unittests/Tooling/RecursiveASTVisitorTests/TraversalScope.cpp
   37   auto &TU = *Ctx.getTranslationUnitDecl();
tools/clang/unittests/Tooling/RefactoringTest.cpp
  666       Visitor->TraverseDecl(Context.getTranslationUnitDecl());
tools/clang/unittests/Tooling/Syntax/TreeTest.cpp
   47         Root = syntax::buildSyntaxTree(*Arena, *Ctx.getTranslationUnitDecl());
tools/clang/unittests/Tooling/TestVisitor.h
   98       Visitor->TraverseDecl(Context.getTranslationUnitDecl());
tools/lldb/include/lldb/Symbol/ClangASTContext.h
  211           decl_context = ast->getTranslationUnitDecl();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangASTSource.cpp
  167   m_ast_context->getTranslationUnitDecl()->setHasExternalVisibleStorage();
  168   m_ast_context->getTranslationUnitDecl()->setHasExternalLexicalStorage();
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
  223             source.getASTContext()->getTranslationUnitDecl()->getLocation());
 2145       *m_ast_context, m_ast_context->getTranslationUnitDecl(), SourceLocation(),
tools/lldb/source/Plugins/ExpressionParser/Clang/ClangModulesDeclVendor.cpp
  380           m_compiler_instance->getASTContext().getTranslationUnitDecl()));
tools/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCDeclVendor.cpp
  144         m_decl_vendor.m_ast_ctx.getASTContext()->getTranslationUnitDecl();
  189       *ast_ctx, ast_ctx->getTranslationUnitDecl(), clang::SourceLocation(),
  199   ast_ctx->getTranslationUnitDecl()->addDecl(new_iface_decl);
  584         ast_ctx->getTranslationUnitDecl()->lookup(decl_name);
tools/lldb/source/Symbol/ClangASTContext.cpp
  683     ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(true);
  709     m_ast_up->getTranslationUnitDecl()->setHasExternalLexicalStorage();
 1267   return ast->getTranslationUnitDecl();
 1357     decl_ctx = ast->getTranslationUnitDecl();
 1437       ast->getTranslationUnitDecl(); // Is this the right decl context?,
 1526     decl_ctx = ast->getTranslationUnitDecl();
 1589   auto *decl_ctx = ast->getTranslationUnitDecl();
 1761     decl_ctx = ast->getTranslationUnitDecl();
 1808   TranslationUnitDecl *translation_unit_decl = ast->getTranslationUnitDecl();
 2059     decl_ctx = ast->getTranslationUnitDecl();
 4781       decl_ctx = ast->getASTContext()->getTranslationUnitDecl();
 4890       decl_ctx = getASTContext()->getTranslationUnitDecl();
tools/lldb/source/Symbol/ClangASTImporter.cpp
  163     decl->setDeclContext(decl->getASTContext().getTranslationUnitDecl());
  164     decl->setLexicalDeclContext(decl->getASTContext().getTranslationUnitDecl());
tools/lldb/source/Symbol/CxxModuleHandler.cpp
  126     return sema.getASTContext().getTranslationUnitDecl();
tools/lldb/tools/lldb-test/lldb-test.cpp
  609   clang::TranslationUnitDecl *tu = ast_ctx->getTranslationUnitDecl();