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

123

/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTMerge.cpp42 *CI.getASTContext().getTranslationUnitDecl());
60 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
H A DASTConsumers.cpp45 TranslationUnitDecl *D = Context.getTranslationUnitDecl();
140 TraverseDecl(Context.getTranslationUnitDecl());
H A DInterfaceStubFunctionsConsumer.cpp266 v.TraverseDecl(context.getTranslationUnitDecl());
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DUSRFinder.cpp85 for (auto *CurrDecl : Context.getTranslationUnitDecl()->decls()) {
131 Visitor.TraverseDecl(Context.getTranslationUnitDecl());
H A DRenamingAction.cpp51 Context.getASTContext().getTranslationUnitDecl());
141 USRs, NewQualifiedName, Context.getASTContext().getTranslationUnitDecl());
210 USRs, PrevName, Context.getTranslationUnitDecl());
258 USRList[I], NewNames[I], Context.getTranslationUnitDecl());
/freebsd-13-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransARCAssign.cpp76 assignCheck.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransUnusedInitDelegate.cpp76 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransAPIUses.cpp106 APIChecker(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransEmptyStatementsAndDealloc.cpp196 DeclContext *DC = Ctx.getTranslationUnitDecl();
241 EmptyStatementsRemover(pass).TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransZeroOutPropsInDealloc.cpp223 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransforms.cpp521 DeclContext *DC = Ctx.getTranslationUnitDecl();
569 MigrateCtx.traverse(pass.Ctx.getTranslationUnitDecl());
H A DTransAutoreleasePool.cpp433 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
H A DTransGCAttrs.cpp325 MigrateCtx.Pass.Ctx.getTranslationUnitDecl());
H A DTransRetainReleaseDealloc.cpp458 trans.TraverseDecl(pass.Ctx.getTranslationUnitDecl());
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCloneChecker.cpp104 Mgr.getAnalysisDeclContext(ACtx.getTranslationUnitDecl()));
164 Mgr.getAnalysisDeclContext(ACtx.getTranslationUnitDecl());
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/
H A DAppleObjCDeclVendor.cpp125 m_decl_vendor.m_ast_ctx.getASTContext().getTranslationUnitDecl();
167 ast_ctx, ast_ctx.getTranslationUnitDecl(), clang::SourceLocation(),
177 ast_ctx.getTranslationUnitDecl()->addDecl(new_iface_decl);
554 ast_ctx.getTranslationUnitDecl()->lookup(decl_name);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp82 auto *TU = Context.getTranslationUnitDecl();
237 auto *TU = Context.getTranslationUnitDecl();
299 auto *TU = Context.getTranslationUnitDecl();
424 TranslationUnitDecl *TU = getASTContext().getTranslationUnitDecl();
510 TranslationUnitDecl *TU = getASTContext().getTranslationUnitDecl();
H A DSemaAttr.cpp404 Context, Context.getTranslationUnitDecl(), CommentLoc, Kind, Arg);
405 Context.getTranslationUnitDecl()->addDecl(PCD);
412 Context, Context.getTranslationUnitDecl(), Loc, Name, Value);
413 Context.getTranslationUnitDecl()->addDecl(PDMD);
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExternalASTMerger.cpp290 Importer->getFromContext().getTranslationUnitDecl();
374 LookupSameContext(Origin.AST->getTranslationUnitDecl(), ToDC, Reverse);
400 *Target.AST.getTranslationUnitDecl());
H A DComparisonCategories.cpp93 Ctx.getTranslationUnitDecl()->lookup(&Ctx.Idents.get("std"));
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DASTSelection.cpp49 SelectedASTNode(DynTypedNode::create(*Context.getTranslationUnitDecl()),
195 Visitor.TraverseDecl(Context.getTranslationUnitDecl());
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DCxxModuleHandler.cpp126 return sema.getASTContext().getTranslationUnitDecl();
H A DClangASTImporter.cpp122 decl->setDeclContext(decl->getASTContext().getTranslationUnitDecl());
123 decl->setLexicalDeclContext(decl->getASTContext().getTranslationUnitDecl());
955 static_cast<void *>(to->getTranslationUnitDecl()),
962 to->getTranslationUnitDecl()->dump(ast_stream);
/freebsd-13-stable/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp319 TranslationUnitDecl *TU = Unit->getASTContext().getTranslationUnitDecl();
752 auto I = ASTUnitImporterMap.find(From.getTranslationUnitDecl());
755 lazyInitImporterSharedSt(Context.getTranslationUnitDecl());
764 ASTUnitImporterMap[From.getTranslationUnitDecl()].reset(NewImporter);
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DDeclBase.h458 TranslationUnitDecl *getTranslationUnitDecl();
459 const TranslationUnitDecl *getTranslationUnitDecl() const { function
460 return const_cast<Decl*>(this)->getTranslationUnitDecl();

Completed in 303 milliseconds

123