https://github.com/lamb-j created https://github.com/llvm/llvm-project/pull/91495
Fixes "error: private field 'FileMgr' is not used" >From 4c687db250dabbc13557df46433a3c1cb3dff01e Mon Sep 17 00:00:00 2001 From: Jacob Lambert <jacob.lamb...@amd.com> Date: Wed, 8 May 2024 08:52:14 -0700 Subject: [PATCH] [clang][CodeGen] Remove now-unused FileManager variable Fixes "error: private field 'FileMgr' is not used" --- clang/lib/CodeGen/BackendConsumer.h | 1 - 1 file changed, 1 deletion(-) diff --git a/clang/lib/CodeGen/BackendConsumer.h b/clang/lib/CodeGen/BackendConsumer.h index f9edbe901bb85..7dce21e743f72 100644 --- a/clang/lib/CodeGen/BackendConsumer.h +++ b/clang/lib/CodeGen/BackendConsumer.h @@ -34,7 +34,6 @@ class BackendConsumer : public ASTConsumer { const CodeGenOptions &CodeGenOpts; const TargetOptions &TargetOpts; const LangOptions &LangOpts; - const FileManager &FileMgr; std::unique_ptr<raw_pwrite_stream> AsmOutStream; ASTContext *Context; IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS; _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits