Home
last modified time | relevance | path

Searched refs:getTranslationUnitDecl (Results 1 – 25 of 48) sorted by relevance

12

/external/clang/lib/Frontend/
DASTConsumers.cpp44 Context.getTranslationUnitDecl()->print(Out, Policy, /*Indentation=*/0, in HandleTranslationUnit()
105 PrintDeclContext(C.getTranslationUnitDecl(), 4); in HandleTranslationUnit()
415 C.getTranslationUnitDecl()->dumpXML(OS); in HandleTranslationUnit()
DASTMerge.cpp57 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
/external/clang/lib/ARCMigrate/
DTransUnusedInitDelegate.cpp76 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteUnusedInitDelegate()
DTransARCAssign.cpp76 assignCheck.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in makeAssignARCSafe()
DTransEmptyStatementsAndDealloc.cpp202 DeclContext *DC = Ctx.getTranslationUnitDecl(); in cleanupDeallocOrFinalize()
250 EmptyStatementsRemover(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeEmptyStatementsAndDeallocFinalize()
DTransAPIUses.cpp108 APIChecker(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in checkAPIUses()
DTransZeroOutPropsInDealloc.cpp227 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeZeroOutPropsInDeallocFinalize()
DTransforms.cpp466 DeclContext *DC = Ctx.getTranslationUnitDecl(); in GCRewriteFinalize()
516 MigrateCtx.traverse(pass.Ctx.getTranslationUnitDecl()); in traverseAST()
DTransRetainReleaseDealloc.cpp302 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeRetainReleaseDeallocFinalize()
DTransUnbridgedCasts.cpp335 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteUnbridgedCasts()
DTransGCAttrs.cpp331 MigrateCtx.Pass.Ctx.getTranslationUnitDecl()); in traverseTU()
DTransAutoreleasePool.cpp433 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteAutoreleasePool()
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp41 TraverseDecl(context.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/clang/include/clang/AST/
DDeclBase.h376 TranslationUnitDecl *getTranslationUnitDecl();
377 const TranslationUnitDecl *getTranslationUnitDecl() const { in getTranslationUnitDecl() function
378 return const_cast<Decl*>(this)->getTranslationUnitDecl(); in getTranslationUnitDecl()
/external/clang/lib/Sema/
DSemaExprObjC.cpp130 Context.getTranslationUnitDecl(), in BuildObjCStringLiteral()
180 CX.getTranslationUnitDecl(), in getNSNumberFactoryMethod()
426 Context.getTranslationUnitDecl(), in BuildObjCBoxedExpr()
574 Context.getTranslationUnitDecl(), in BuildObjCArrayLiteral()
598 Context.getTranslationUnitDecl(), in BuildObjCArrayLiteral()
707 Context.getTranslationUnitDecl(), in BuildObjCDictionaryLiteral()
731 Context.getTranslationUnitDecl(), in BuildObjCDictionaryLiteral()
DSemaExprCXX.cpp462 LookupQualifiedName(R, Context.getTranslationUnitDecl()); in ActOnCXXUuidof()
1496 DeclContext *TUDecl = Context.getTranslationUnitDecl(); in FindAllocationFunctions()
1535 LookupQualifiedName(FoundDelete, Context.getTranslationUnitDecl()); in FindAllocationFunctions()
1835 DeclContext *GlobalCtx = Context.getTranslationUnitDecl(); in DeclareGlobalAllocationFunction()
1899 Context.getTranslationUnitDecl()->addDecl(Alloc); in DeclareGlobalAllocationFunction()
1977 DeclContext *TUDecl = Context.getTranslationUnitDecl(); in FindDeallocationFunction()
2177 DeclContext *TUDecl = Context.getTranslationUnitDecl(); in ActOnCXXDelete()
3346 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in evaluateTypeTrait()
3488 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
3537 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
DSemaPseudoObject.cpp994 S.Context.getTranslationUnitDecl(), in findAtIndexGetter()
1106 S.Context.getTranslationUnitDecl(), in findAtIndexSetter()
DSemaLookup.cpp2060 Result.Namespaces.insert(Result.S.Context.getTranslationUnitDecl()); in addAssociatedClassesAndNamespaces()
3070 Entity = Result.getSema().Context.getTranslationUnitDecl(); in LookupVisibleDecls()
3111 Visited.visitedContext(Context.getTranslationUnitDecl()); in LookupVisibleDecls()
3122 Visited.visitedContext(Context.getTranslationUnitDecl()); in LookupVisibleDecls()
/external/v8/tools/gcmole/
Dgcmole.cc89 : ctx_(ctx), decl_ctx_(ctx.getTranslationUnitDecl()) { in Resolver()
220 TraverseDecl(ctx.getTranslationUnitDecl()); in HandleTranslationUnit()
1237 TraverseDecl(ctx.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/clang/lib/CodeGen/
DCGBlocks.cpp1207 C.getTranslationUnitDecl(), in GenerateCopyHelperFunction()
1323 FunctionDecl *FD = FunctionDecl::Create(C, C.getTranslationUnitDecl(), in GenerateDestroyHelperFunction()
1601 Context.getTranslationUnitDecl(), in generateByrefCopyHelper()
1672 Context.getTranslationUnitDecl(), in generateByrefDisposeHelper()
/external/clang/lib/AST/
DASTContext.cpp117 TemplateTypeParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl()
137 Param = NonTypeTemplateParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl()
148 Param = NonTypeTemplateParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl()
165 = TemplateTemplateParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl()
358 getTranslationUnitDecl(), in getInt128Decl()
372 getTranslationUnitDecl(), in getUInt128Decl()
3988 getTranslationUnitDecl(), in getObjCInstanceTypeDecl()
4892 getTranslationUnitDecl(), in getObjCIdDecl()
4905 getTranslationUnitDecl(), in getObjCSelDecl()
4918 getTranslationUnitDecl(), in getObjCClassDecl()
[all …]
DDeclBase.cpp233 TranslationUnitDecl *Decl::getTranslationUnitDecl() { in getTranslationUnitDecl() function in Decl
249 return getTranslationUnitDecl()->getASTContext(); in getASTContext()
DASTImporter.cpp2085 Importer.getToContext().getTranslationUnitDecl(); in VisitTranslationUnitDecl()
2909 DeclContext *DC = Importer.getToContext().getTranslationUnitDecl(); in VisitImplicitParamDecl()
2935 DeclContext *DC = Importer.getToContext().getTranslationUnitDecl(); in VisitParmVarDecl()
3658 Importer.getToContext().getTranslationUnitDecl(), in VisitTemplateTypeParmDecl()
3691 Importer.getToContext().getTranslationUnitDecl(), in VisitNonTypeTemplateParmDecl()
3717 Importer.getToContext().getTranslationUnitDecl(), in VisitTemplateTemplateParmDecl()
4136 ImportedDecls[FromContext.getTranslationUnitDecl()] in ASTImporter()
4137 = ToContext.getTranslationUnitDecl(); in ASTImporter()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp395 TranslationUnitDecl *TU = C.getTranslationUnitDecl(); in HandleTranslationUnit()
/external/clang/tools/libclang/
DIndexing.cpp479 TranslationUnitDecl *TUDecl = Unit.getASTContext().getTranslationUnitDecl(); in indexTranslationUnit()

12