Home
last modified time | relevance | path

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

123

/NextBSD/contrib/llvm/tools/lldb/source/Symbol/
HDClangASTContext.cpp373 ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(true); in SetExternalSource()
387 ast->getTranslationUnitDecl()->setHasExternalLexicalStorage(false); in RemoveExternalSource()
415 m_ast_ap->getTranslationUnitDecl()->setHasExternalLexicalStorage(); in getASTContext()
1087 return ast->getTranslationUnitDecl(); in GetTranslationUnitDecl()
1194 decl_ctx = ast->getTranslationUnitDecl(); in CreateRecordType()
1257 … ast->getTranslationUnitDecl(), // Is this the right decl context?, SourceLocation StartLoc, in CreateTemplateParameterList()
1271 … ast->getTranslationUnitDecl(), // Is this the right decl context? in CreateTemplateParameterList()
1349 decl_ctx = ast->getTranslationUnitDecl(); in CreateClassTemplateDecl()
1588 decl_ctx = ast->getTranslationUnitDecl(); in CreateObjCClass()
1648 TranslationUnitDecl *translation_unit_decl = ast->getTranslationUnitDecl (); in GetUniqueNamespaceDeclaration()
[all …]
HDClangASTImporter.cpp133 decl->setDeclContext(decl->getASTContext().getTranslationUnitDecl()); in OverrideOne()
134 decl->setLexicalDeclContext(decl->getASTContext().getTranslationUnitDecl()); in OverrideOne()
/NextBSD/contrib/llvm/tools/clang/lib/Frontend/
HDASTConsumers.cpp44 TranslationUnitDecl *D = Context.getTranslationUnitDecl(); in HandleTranslationUnit()
109 TraverseDecl(Context.getTranslationUnitDecl()); in HandleTranslationUnit()
190 PrintDeclContext(C.getTranslationUnitDecl(), 4); in HandleTranslationUnit()
HDASTMerge.cpp61 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl(); in ExecuteAction()
/NextBSD/contrib/llvm/tools/clang/lib/ARCMigrate/
HDTransEmptyStatementsAndDealloc.cpp200 DeclContext *DC = Ctx.getTranslationUnitDecl(); in cleanupDeallocOrFinalize()
245 EmptyStatementsRemover(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeEmptyStatementsAndDeallocFinalize()
HDTransUnusedInitDelegate.cpp77 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteUnusedInitDelegate()
HDTransARCAssign.cpp77 assignCheck.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in makeAssignARCSafe()
HDTransAPIUses.cpp107 APIChecker(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in checkAPIUses()
HDTransZeroOutPropsInDealloc.cpp226 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeZeroOutPropsInDeallocFinalize()
HDTransforms.cpp527 DeclContext *DC = Ctx.getTranslationUnitDecl(); in GCRewriteFinalize()
575 MigrateCtx.traverse(pass.Ctx.getTranslationUnitDecl()); in traverseAST()
HDTransGCAttrs.cpp330 MigrateCtx.Pass.Ctx.getTranslationUnitDecl()); in traverseTU()
HDTransRetainReleaseDealloc.cpp464 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in removeRetainReleaseDeallocFinalize()
HDTransAutoreleasePool.cpp434 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteAutoreleasePool()
HDTransUnbridgedCasts.cpp468 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl()); in rewriteUnbridgedCasts()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDDeclBase.h400 TranslationUnitDecl *getTranslationUnitDecl();
401 const TranslationUnitDecl *getTranslationUnitDecl() const { in getTranslationUnitDecl() function
402 return const_cast<Decl*>(this)->getTranslationUnitDecl(); in getTranslationUnitDecl()
/NextBSD/contrib/llvm/tools/clang/lib/ASTMatchers/
HDASTMatchFinder.cpp622 ActiveASTContext->getTranslationUnitDecl()) in memoizedMatchesAncestorOfRecursively()
988 Visitor.TraverseDecl(Context.getTranslationUnitDecl()); in matchAST()
/NextBSD/contrib/llvm/tools/lldb/include/lldb/Symbol/
HDClangASTContext.h238 … clang::DeclContext::lookup_result result = ast->getTranslationUnitDecl()->lookup(myName); in GetTypeForIdentifier()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaExprObjC.cpp134 Context.getTranslationUnitDecl(), in BuildObjCStringLiteral()
209 CX.getTranslationUnitDecl(), in getNSNumberFactoryMethod()
475 DeclContext *TU = Context.getTranslationUnitDecl(); in BuildObjCBoxedExpr()
593 DeclContext *TU = Context.getTranslationUnitDecl(); in BuildObjCBoxedExpr()
758 Context.getTranslationUnitDecl(), in BuildObjCArrayLiteral()
779 Context.getTranslationUnitDecl(), false /*Instance*/, in BuildObjCArrayLiteral()
873 Context.getTranslationUnitDecl(), in BuildObjCDictionaryLiteral()
896 Context.getTranslationUnitDecl(), in BuildObjCDictionaryLiteral()
HDSemaExprCXX.cpp480 LookupQualifiedName(R, Context.getTranslationUnitDecl()); in ActOnCXXTypeid()
559 LookupQualifiedName(R, Context.getTranslationUnitDecl()); in ActOnCXXUuidof()
1763 DeclContext *TUDecl = Context.getTranslationUnitDecl(); in FindAllocationFunctions()
1810 LookupQualifiedName(FoundDelete, Context.getTranslationUnitDecl()); in FindAllocationFunctions()
2137 DeclContext *GlobalCtx = Context.getTranslationUnitDecl(); in DeclareGlobalAllocationFunction()
2218 Context.getTranslationUnitDecl()->addDecl(Alloc); in DeclareGlobalAllocationFunction()
2228 LookupQualifiedName(FoundDelete, Context.getTranslationUnitDecl()); in FindUsualDeallocationFunction()
4064 Sema::ContextRAII TUContext(S, S.Context.getTranslationUnitDecl()); in evaluateTypeTrait()
4242 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
4292 Sema::ContextRAII TUContext(Self, Self.Context.getTranslationUnitDecl()); in EvaluateBinaryTypeTrait()
HDSemaLookup.cpp2436 Result.Namespaces.insert(Result.S.Context.getTranslationUnitDecl()); in addAssociatedClassesAndNamespaces()
3397 Entity = Result.getSema().Context.getTranslationUnitDecl(); in LookupVisibleDecls()
3437 Visited.visitedContext(Context.getTranslationUnitDecl()); in LookupVisibleDecls()
3449 Visited.visitedContext(Context.getTranslationUnitDecl()); in LookupVisibleDecls()
3895 SpecifierInfo SI = {cast<DeclContext>(Context.getTranslationUnitDecl()), in NamespaceSpecifierSet()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGBlocks.cpp1327 C.getTranslationUnitDecl(), in GenerateCopyHelperFunction()
1500 FunctionDecl *FD = FunctionDecl::Create(C, C.getTranslationUnitDecl(), in GenerateDestroyHelperFunction()
1793 Context.getTranslationUnitDecl(), in generateByrefCopyHelper()
1866 Context.getTranslationUnitDecl(), in generateByrefDisposeHelper()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDASTContext.cpp607 TemplateTypeParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl()
627 Param = NonTypeTemplateParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl()
638 Param = NonTypeTemplateParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl()
655 = TemplateTemplateParmDecl::Create(*this, getTranslationUnitDecl(), in getCanonicalTemplateTemplateParmDecl()
896 ExternCContext = ExternCContextDecl::Create(*this, getTranslationUnitDecl()); in getExternCContextDecl()
906 NewDecl = CXXRecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, in buildImplicitRecord()
909 NewDecl = RecordDecl::Create(*this, TK, getTranslationUnitDecl(), Loc, Loc, in buildImplicitRecord()
921 const_cast<ASTContext &>(*this), getTranslationUnitDecl(), in buildImplicitTypedef()
5986 = ObjCInterfaceDecl::Create(*this, getTranslationUnitDecl(), in getObjCProtocolDecl()
6021 Context->getTranslationUnitDecl(), in CreateAArch64ABIBuiltinVaListDecl()
[all …]
HDDeclBase.cpp269 TranslationUnitDecl *Decl::getTranslationUnitDecl() { in getTranslationUnitDecl() function in Decl
285 return getTranslationUnitDecl()->getASTContext(); in getASTContext()
/NextBSD/contrib/llvm/tools/lldb/source/Expression/
HDClangModulesDeclVendor.cpp389 …ance->getSema().getScopeForContext(m_compiler_instance->getASTContext().getTranslationUnitDecl())); in FindDecls()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Frontend/
HDAnalysisConsumer.cpp519 TranslationUnitDecl *TU = C.getTranslationUnitDecl(); in HandleTranslationUnit()

123