[llvm] [NFC]Make file-local cl::opt global variables static (PR #126486)
Rahul Joshi via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 19 18:49:04 PST 2025
================
@@ -44,7 +44,7 @@ AllowStridedPointerIVs("lv-strided-pointer-ivs", cl::init(false), cl::Hidden,
"pointer induction variables."));
namespace llvm {
-cl::opt<bool>
+static cl::opt<bool>
----------------
jurahul wrote:
Agreed, we should pull them out of the namespace
https://github.com/llvm/llvm-project/pull/126486
More information about the llvm-commits
mailing list