[llvm] [TableGen] Allow emitter callbacks to use `const RecordKeeper &` (PR #104716)

Min-Yih Hsu via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 20 16:44:25 PDT 2024


================
@@ -33,50 +33,47 @@ cl::opt<bool> EmitLongStrLiterals(
     cl::Hidden, cl::init(true));
 } // end namespace llvm
 
-namespace {
+static cl::OptionCategory PrintEnumsCat("Options for -print-enums");
----------------
mshockwave wrote:

nit: I might be pedantic but I would prefer to split this anonymous namespace -> static refactoring to a separate commit / PR.

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


More information about the llvm-commits mailing list