[llvm] [NFC]Make file-local cl::opt global variables static (PR #126486)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 19 19:00:00 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>
----------------
chrisPyr wrote:
Every option inside all namespaces?
https://github.com/llvm/llvm-project/pull/126486
More information about the llvm-commits
mailing list