Author: Kazu Hirata Date: 2025-08-26T10:21:35-07:00 New Revision: e7d9b79348f402aac26cccfd989dcfdcdabd560f
URL: https://github.com/llvm/llvm-project/commit/e7d9b79348f402aac26cccfd989dcfdcdabd560f DIFF: https://github.com/llvm/llvm-project/commit/e7d9b79348f402aac26cccfd989dcfdcdabd560f.diff LOG: [Interpreter] Fix a warning This patch fixes: clang/lib/Interpreter/IncrementalAction.h:37:21: error: private field 'CI' is not used [-Werror,-Wunused-private-field] Added: Modified: clang/lib/Interpreter/IncrementalAction.h Removed: ################################################################################ diff --git a/clang/lib/Interpreter/IncrementalAction.h b/clang/lib/Interpreter/IncrementalAction.h index 92eabacd40074..b9dd087f258de 100644 --- a/clang/lib/Interpreter/IncrementalAction.h +++ b/clang/lib/Interpreter/IncrementalAction.h @@ -34,7 +34,7 @@ class IncrementalAction : public WrapperFrontendAction { private: bool IsTerminating = false; Interpreter &Interp; - CompilerInstance &CI; + [[maybe_unused]] CompilerInstance &CI; std::unique_ptr<ASTConsumer> Consumer; /// When CodeGen is created the first llvm::Module gets cached in many places _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
