[llvm] [NFC]Make file-local cl::opt global variables static (PR #126486)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 10 02:20:22 PST 2025
================
@@ -28,10 +28,10 @@ using namespace llvm;
//===----------------------------------------------------------------------===//
namespace {
- cl::opt<std::string>
- InputIR("input-IR",
- cl::desc("Specify the name of an IR file to load for function definitions"),
- cl::value_desc("input IR file name"));
+cl::opt<std::string> InputIR(
----------------
jayfoad wrote:
`got clang-format` will only reformat lines that you have already touched. So you must have changed something here, but it doesn't look like anything significant has changed, right? So yes, remove this.
https://github.com/llvm/llvm-project/pull/126486
More information about the llvm-commits
mailing list