Home
last modified time | relevance | path

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

12

/external/clang/lib/Frontend/
DASTConsumers.cpp44 Context.getTranslationUnitDecl()->print(Out, Policy); in HandleTranslationUnit()
103 PrintDeclContext(C.getTranslationUnitDecl(), 4); in HandleTranslationUnit()
413 C.getTranslationUnitDecl()->dumpXML(OS); in HandleTranslationUnit()
DASTMerge.cpp58 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
/external/clang/lib/Index/
DProgram.cpp49 FindEntitiesInDC(Ctx.getTranslationUnitDecl(), *this, Handler); in FindEntities()
DSelectorMap.cpp63 SelMapper(SelMethMap, SelRefMap).Visit(Ctx.getTranslationUnitDecl()); in SelectorMap()
DDeclReferenceMap.cpp72 RefMapper(Map).Visit(Ctx.getTranslationUnitDecl()); in DeclReferenceMap()
DCallGraph.cpp72 DeclContext *DC = Ctx.getTranslationUnitDecl(); in addTU()
DIndexer.cpp77 SelIdx.Visit(Ctx.getTranslationUnitDecl()); in IndexAST()
DEntity.cpp169 Parent.isInvalid() ? AST.getTranslationUnitDecl() in getDecl()
/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp175 DeclContext *DC = Ctx.getTranslationUnitDecl(); in removeDeallocMethod()
203 .TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeEmptyStatementsAndDealloc()
DTransUnusedInitDelegate.cpp73 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteUnusedInitDelegate()
DTransARCAssign.cpp74 assignCheck.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in makeAssignARCSafe()
DTransBlockObjCVariable.cpp142 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteBlockObjCVariable()
DTransAPIUses.cpp122 APIChecker(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in checkAPIUses()
DTransUnbridgedCasts.cpp202 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteUnbridgedCasts()
DTransZeroOutPropsInDealloc.cpp197 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeZeroOutPropsInDealloc()
DTransRetainReleaseDealloc.cpp218 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeRetainReleaseDealloc()
DTransProperties.cpp363 ImplementationChecker(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteProperties()
DTransAutoreleasePool.cpp435 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteAutoreleasePool()
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp41 TraverseDecl(context.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/v8/tools/gcmole/
Dgcmole.cc155 TraverseDecl(ctx.getTranslationUnitDecl()); in HandleTranslationUnit()
398 : ctx_(ctx), decl_ctx_(ctx.getTranslationUnitDecl()) { in Resolver()
448 TraverseDecl(ctx.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/clang/include/clang/AST/
DDeclBase.h335 TranslationUnitDecl *getTranslationUnitDecl();
336 const TranslationUnitDecl *getTranslationUnitDecl() const { in getTranslationUnitDecl() function
337 return const_cast<Decl*>(this)->getTranslationUnitDecl(); in getTranslationUnitDecl()
/external/clang/lib/CodeGen/
DCGBlocks.cpp1082 C.getTranslationUnitDecl(), in GenerateCopyHelperFunction()
1196 FunctionDecl *FD = FunctionDecl::Create(C, C.getTranslationUnitDecl(), in GenerateDestroyHelperFunction()
1431 Context.getTranslationUnitDecl(), in generateByrefCopyHelper()
1500 Context.getTranslationUnitDecl(), in generateByrefDisposeHelper()
/external/clang/lib/AST/
DDeclBase.cpp204 TranslationUnitDecl *Decl::getTranslationUnitDecl() { in getTranslationUnitDecl() function in Decl
220 return getTranslationUnitDecl()->getASTContext(); in getASTContext()
/external/clang/lib/Sema/
DSemaExprCXX.cpp440 LookupQualifiedName(R, Context.getTranslationUnitDecl()); in ActOnCXXUuidof()
1284 DeclContext *TUDecl = Context.getTranslationUnitDecl(); in FindAllocationFunctions()
1323 LookupQualifiedName(FoundDelete, Context.getTranslationUnitDecl()); in FindAllocationFunctions()
1615 DeclContext *GlobalCtx = Context.getTranslationUnitDecl(); in DeclareGlobalAllocationFunction()
1679 Context.getTranslationUnitDecl()->addDecl(Alloc); in DeclareGlobalAllocationFunction()
1755 DeclContext *TUDecl = Context.getTranslationUnitDecl(); in FindDeallocationFunction()
1936 DeclContext *TUDecl = Context.getTranslationUnitDecl(); in ActOnCXXDelete()
3065 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
/external/clang/lib/StaticAnalyzer/Frontend/
DAnalysisConsumer.cpp233 TranslationUnitDecl *TU = C.getTranslationUnitDecl(); in HandleTranslationUnit()

12