Searched refs:getTranslationUnitDecl (Results 1 - 25 of 64) sorted by relevance

123

/external/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp77 assignCheck.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransUnusedInitDelegate.cpp77 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransAPIUses.cpp107 APIChecker(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransEmptyStatementsAndDealloc.cpp198 DeclContext *DC = Ctx.getTranslationUnitDecl();
243 EmptyStatementsRemover(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransZeroOutPropsInDealloc.cpp226 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransforms.cpp525 DeclContext *DC = Ctx.getTranslationUnitDecl();
573 MigrateCtx.traverse(pass.Ctx.getTranslationUnitDecl());
H A DTransAutoreleasePool.cpp434 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransGCAttrs.cpp328 MigrateCtx.Pass.Ctx.getTranslationUnitDecl());
H A DTransRetainReleaseDealloc.cpp454 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransUnbridgedCasts.cpp468 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
/external/clang/unittests/AST/
H A DEvaluateAsRValueTest.cpp74 Evaluator.TraverseDecl(Ctx.getTranslationUnitDecl());
H A DExternalASTSourceTest.cpp33 getCompilerInstance().getASTContext().getTranslationUnitDecl()
/external/clang/examples/PrintFunctionNames/
H A DPrintFunctionNames.cpp69 v.TraverseDecl(context.getTranslationUnitDecl());
/external/clang/lib/Frontend/
H A DASTMerge.cpp61 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
H A DASTConsumers.cpp44 TranslationUnitDecl *D = Context.getTranslationUnitDecl();
109 TraverseDecl(Context.getTranslationUnitDecl());
190 PrintDeclContext(C.getTranslationUnitDecl(), 4);
/external/lldb/source/Symbol/
H A DClangASTContext.cpp356 ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(true);
357 //ast->getTranslationUnitDecl()->setHasExternalVisibleStorage(true);
370 ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(false);
371 //ast->getTranslationUnitDecl()->setHasExternalVisibleStorage(false);
392 m_ast_ap->getTranslationUnitDecl()->setHasExternalLexicalStorage();
393 //m_ast_ap->getTranslationUnitDecl()->setHasExternalVisibleStorage();
1043 return ast->getTranslationUnitDecl();
1140 decl_ctx = ast->getTranslationUnitDecl();
1197 ast->getTranslationUnitDecl(), // Is this the right decl context?, SourceLocation StartLoc,
1211 ast->getTranslationUnitDecl(), // I
[all...]
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCTypeVendor.cpp157 clang::TranslationUnitDecl *translation_unit_decl = m_type_vendor.m_ast_ctx.getASTContext()->getTranslationUnitDecl();
195 ast_ctx->getTranslationUnitDecl(),
207 ast_ctx->getTranslationUnitDecl()->addDecl(new_iface_decl);
617 clang::DeclContext::lookup_const_result lookup_result = ast_ctx->getTranslationUnitDecl()->lookup(decl_name);
/external/clang/unittests/Frontend/
H A DFrontendActionTest.cpp64 TraverseDecl(context.getTranslationUnitDecl());
/external/clang/unittests/Sema/
H A DExternalSemaSourceTest.cpp116 DestContext = Context.getTranslationUnitDecl();
/external/clang/unittests/Tooling/
H A DTestVisitor.h87 Visitor->TraverseDecl(Context.getTranslationUnitDecl());
/external/clang/include/clang/AST/
H A DDeclBase.h407 TranslationUnitDecl *getTranslationUnitDecl();
408 const TranslationUnitDecl *getTranslationUnitDecl() const { function in class:clang::Decl
409 return const_cast<Decl*>(this)->getTranslationUnitDecl();
/external/v8/tools/gcmole/
H A Dgcmole.cc89 : ctx_(ctx), decl_ctx_(ctx.getTranslationUnitDecl()) {
219 TraverseDecl(ctx.getTranslationUnitDecl());
1214 TraverseDecl(ctx.getTranslationUnitDecl());
/external/clang/lib/ASTMatchers/
H A DASTMatchFinder.cpp616 ActiveASTContext->getTranslationUnitDecl())
983 Visitor.TraverseDecl(Context.getTranslationUnitDecl());
/external/clang/lib/CodeGen/
H A DCGBlocks.cpp1347 C.getTranslationUnitDecl(),
1522 FunctionDecl *FD = FunctionDecl::Create(C, C.getTranslationUnitDecl(),
1809 Context.getTranslationUnitDecl(),
1883 Context.getTranslationUnitDecl(),
/external/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp523 TranslationUnitDecl *TU = C.getTranslationUnitDecl();

Completed in 321 milliseconds

123