Home
last modified time | relevance | path

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

123

/external/clang/lib/Frontend/
DASTConsumers.cpp44 TranslationUnitDecl *D = Context.getTranslationUnitDecl(); in HandleTranslationUnit()
109 TraverseDecl(Context.getTranslationUnitDecl()); in HandleTranslationUnit()
190 PrintDeclContext(C.getTranslationUnitDecl(), 4); in HandleTranslationUnit()
DASTMerge.cpp61 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
/external/clang/lib/ARCMigrate/
DTransEmptyStatementsAndDealloc.cpp198 DeclContext *DC = Ctx.getTranslationUnitDecl(); in cleanupDeallocOrFinalize()
243 EmptyStatementsRemover(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeEmptyStatementsAndDeallocFinalize()
DTransUnusedInitDelegate.cpp77 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteUnusedInitDelegate()
DTransARCAssign.cpp77 assignCheck.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in makeAssignARCSafe()
DTransAPIUses.cpp107 APIChecker(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in checkAPIUses()
DTransZeroOutPropsInDealloc.cpp226 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeZeroOutPropsInDeallocFinalize()
DTransforms.cpp525 DeclContext *DC = Ctx.getTranslationUnitDecl(); in GCRewriteFinalize()
573 MigrateCtx.traverse(pass.Ctx.getTranslationUnitDecl()); in traverseAST()
DTransRetainReleaseDealloc.cpp454 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeRetainReleaseDeallocFinalize()
DTransGCAttrs.cpp328 MigrateCtx.Pass.Ctx.getTranslationUnitDecl()); in traverseTU()
DTransUnbridgedCasts.cpp468 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteUnbridgedCasts()
DTransAutoreleasePool.cpp434 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteAutoreleasePool()
/external/clang/unittests/AST/
DExternalASTSourceTest.cpp33 getCompilerInstance().getASTContext().getTranslationUnitDecl() in ExecuteAction()
DEvaluateAsRValueTest.cpp74 Evaluator.TraverseDecl(Ctx.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/clang/examples/PrintFunctionNames/
DPrintFunctionNames.cpp69 v.TraverseDecl(context.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/clang/docs/
DRAVFrontendAction.rst51 Visitor.TraverseDecl(Context.getTranslationUnitDecl());
182 Visitor.TraverseDecl(Context.getTranslationUnitDecl());
DIntroductionToTheClangAST.rst87 `getTranslationUnitDecl <http://clang.llvm.org/doxygen/classclang_1_1ASTContext.html#abd909fb01ef10…
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp64 TraverseDecl(context.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/clang/unittests/Tooling/
DTestVisitor.h87 Visitor->TraverseDecl(Context.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp116 DestContext = Context.getTranslationUnitDecl(); in CorrectTypo()
/external/clang/include/clang/AST/
DDeclBase.h407 TranslationUnitDecl *getTranslationUnitDecl();
408 const TranslationUnitDecl *getTranslationUnitDecl() const { in getTranslationUnitDecl() function
409 return const_cast<Decl*>(this)->getTranslationUnitDecl(); in getTranslationUnitDecl()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp616 ActiveASTContext->getTranslationUnitDecl()) in memoizedMatchesAncestorOfRecursively()
983 Visitor.TraverseDecl(Context.getTranslationUnitDecl()); in matchAST()
/external/v8/tools/gcmole/
Dgcmole.cc89 : ctx_(ctx), decl_ctx_(ctx.getTranslationUnitDecl()) { in Resolver()
219 TraverseDecl(ctx.getTranslationUnitDecl()); in HandleTranslationUnit()
1214 TraverseDecl(ctx.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/clang/lib/Sema/
DSemaExprCXX.cpp480 LookupQualifiedName(R, Context.getTranslationUnitDecl()); in ActOnCXXTypeid()
559 LookupQualifiedName(R, Context.getTranslationUnitDecl()); in ActOnCXXUuidof()
1772 DeclContext *TUDecl = Context.getTranslationUnitDecl(); in FindAllocationFunctions()
1819 LookupQualifiedName(FoundDelete, Context.getTranslationUnitDecl()); in FindAllocationFunctions()
2146 DeclContext *GlobalCtx = Context.getTranslationUnitDecl(); in DeclareGlobalAllocationFunction()
2227 Context.getTranslationUnitDecl()->addDecl(Alloc); in DeclareGlobalAllocationFunction()
2237 LookupQualifiedName(FoundDelete, Context.getTranslationUnitDecl()); in FindUsualDeallocationFunction()
4138 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in evaluateTypeTrait()
4315 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
4365 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
/external/clang/lib/CodeGen/
DCGBlocks.cpp1347 C.getTranslationUnitDecl(), in GenerateCopyHelperFunction()
1522 FunctionDecl *FD = FunctionDecl::Create(C, C.getTranslationUnitDecl(), in GenerateDestroyHelperFunction()
1809 Context.getTranslationUnitDecl(), in generateByrefCopyHelper()
1883 Context.getTranslationUnitDecl(), in generateByrefDisposeHelper()

123