Home
last modified time | relevance | path

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

123

/external/lldb/source/Symbol/
DClangASTContext.cpp356 ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(true); in SetExternalSource()
370 ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(false); in RemoveExternalSource()
392 m_ast_ap->getTranslationUnitDecl()->setHasExternalLexicalStorage(); in getASTContext()
1043 return ast->getTranslationUnitDecl(); in GetTranslationUnitDecl()
1140 decl_ctx = ast->getTranslationUnitDecl(); in CreateRecordType()
1197 … ast->getTranslationUnitDecl(), // Is this the right decl context?, SourceLocation StartLoc, in CreateTemplateParameterList()
1211 … ast->getTranslationUnitDecl(), // Is this the right decl context? in CreateTemplateParameterList()
1289 decl_ctx = ast->getTranslationUnitDecl(); in CreateClassTemplateDecl()
1744 decl_ctx = ast->getTranslationUnitDecl(); in CreateObjCClass()
1803 TranslationUnitDecl *translation_unit_decl = ast->getTranslationUnitDecl (); in GetUniqueNamespaceDeclaration()
[all …]
/external/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
DAppleObjCTypeVendor.cpp157 …nitDecl *translation_unit_decl = m_type_vendor.m_ast_ctx.getASTContext()->getTranslationUnitDecl(); in StartTranslationUnit()
195 … ast_ctx->getTranslationUnitDecl(), in GetDeclForISA()
207 ast_ctx->getTranslationUnitDecl()->addDecl(new_iface_decl); in GetDeclForISA()
617 …clang::DeclContext::lookup_const_result lookup_result = ast_ctx->getTranslationUnitDecl()->lookup(… in FindTypes()
/external/clang/lib/Frontend/
DASTConsumers.cpp45 TranslationUnitDecl *D = Context.getTranslationUnitDecl(); in HandleTranslationUnit()
105 TraverseDecl(Context.getTranslationUnitDecl()); in HandleTranslationUnit()
181 PrintDeclContext(C.getTranslationUnitDecl(), 4); in HandleTranslationUnit()
DASTMerge.cpp59 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
/external/clang/unittests/AST/
DExternalASTSourceTest.cpp33 getCompilerInstance().getASTContext().getTranslationUnitDecl() in ExecuteAction()
DEvaluateAsRValueTest.cpp75 Evaluator.TraverseDecl(Ctx.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/clang/lib/ARCMigrate/
DTransUnusedInitDelegate.cpp77 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteUnusedInitDelegate()
DTransEmptyStatementsAndDealloc.cpp200 DeclContext *DC = Ctx.getTranslationUnitDecl(); in cleanupDeallocOrFinalize()
245 EmptyStatementsRemover(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeEmptyStatementsAndDeallocFinalize()
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.cpp529 DeclContext *DC = Ctx.getTranslationUnitDecl(); in GCRewriteFinalize()
577 MigrateCtx.traverse(pass.Ctx.getTranslationUnitDecl()); in traverseAST()
DTransGCAttrs.cpp330 MigrateCtx.Pass.Ctx.getTranslationUnitDecl()); in traverseTU()
DTransRetainReleaseDealloc.cpp464 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeRetainReleaseDeallocFinalize()
DTransUnbridgedCasts.cpp468 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteUnbridgedCasts()
DTransAutoreleasePool.cpp434 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteAutoreleasePool()
/external/clang/unittests/Frontend/
DFrontendActionTest.cpp52 TraverseDecl(context.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/clang/docs/
DRAVFrontendAction.rst50 Visitor.TraverseDecl(Context.getTranslationUnitDecl());
180 Visitor.TraverseDecl(Context.getTranslationUnitDecl());
DIntroductionToTheClangAST.rst87 `getTranslationUnitDecl <http://clang.llvm.org/doxygen/classclang_1_1ASTContext.html#abd909fb01ef10…
/external/clang/unittests/Tooling/
DTestVisitor.h87 Visitor->TraverseDecl(Context.getTranslationUnitDecl()); in HandleTranslationUnit()
/external/clang/include/clang/AST/
DDeclBase.h393 TranslationUnitDecl *getTranslationUnitDecl();
394 const TranslationUnitDecl *getTranslationUnitDecl() const { in getTranslationUnitDecl() function
395 return const_cast<Decl*>(this)->getTranslationUnitDecl(); in getTranslationUnitDecl()
/external/clang/unittests/Sema/
DExternalSemaSourceTest.cpp117 DestContext = Context.getTranslationUnitDecl(); in CorrectTypo()
/external/clang/lib/ASTMatchers/
DASTMatchFinder.cpp495 ActiveASTContext->getTranslationUnitDecl()) in memoizedMatchesAncestorOfRecursively()
841 Visitor.TraverseDecl(Context.getTranslationUnitDecl()); in matchAST()
/external/chromium_org/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.cpp457 LookupQualifiedName(R, Context.getTranslationUnitDecl()); in ActOnCXXTypeid()
536 LookupQualifiedName(R, Context.getTranslationUnitDecl()); in ActOnCXXUuidof()
1666 DeclContext *TUDecl = Context.getTranslationUnitDecl(); in FindAllocationFunctions()
1713 LookupQualifiedName(FoundDelete, Context.getTranslationUnitDecl()); in FindAllocationFunctions()
2040 DeclContext *GlobalCtx = Context.getTranslationUnitDecl(); in DeclareGlobalAllocationFunction()
2116 Context.getTranslationUnitDecl()->addDecl(Alloc); in DeclareGlobalAllocationFunction()
2126 LookupQualifiedName(FoundDelete, Context.getTranslationUnitDecl()); in FindUsualDeallocationFunction()
3667 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in evaluateTypeTrait()
3845 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
3895 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()

123