[llvm] [NFC]Make file-local cl::opt global variables static (PR #126486)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 19:49:45 PST 2025


================
@@ -33,7 +33,7 @@ using namespace llvm::object;
 using namespace llvm::support;
 
 namespace opts {
-cl::OptionCategory CXXDumpCategory("CXX Dump Options");
+static cl::OptionCategory CXXDumpCategory("CXX Dump Options");
----------------
arsenm wrote:

Ditto 

https://github.com/llvm/llvm-project/pull/126486


More information about the llvm-commits mailing list