[flang-commits] [clang] [clang-tools-extra] [flang] [lldb] [llvm] [mlir] [polly] Add static to command line option (cl::opt) (PR #126243)
Rahul Joshi via flang-commits
flang-commits at lists.llvm.org
Fri Feb 7 10:46:36 PST 2025
================
@@ -20,7 +20,7 @@ using namespace mlir::lsp;
LogicalResult mlir::MlirLspServerMain(int argc, char **argv,
DialectRegistry ®istry) {
- llvm::cl::opt<JSONStreamStyle> inputStyle{
+ static llvm::cl::opt<JSONStreamStyle> inputStyle{
----------------
jurahul wrote:
These are function local variables and need not be changed to static.
https://github.com/llvm/llvm-project/pull/126243
More information about the flang-commits
mailing list