[clang] [clang][NFC] move traits to tablegen (PR #201491)

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 22 08:52:42 PDT 2026


================
@@ -366,12 +367,14 @@ cl::opt<ActionType> Action(
         clEnumValN(GenTestPragmaAttributeSupportedAttributes,
                    "gen-clang-test-pragma-attribute-supported-attributes",
                    "Generate a list of attributes supported by #pragma clang "
-                   "attribute for testing purposes")));
+                   "attribute for testing purposes"),
+        clEnumValN(GenClangTraits, "gen-clang-traits",
+                   "Generate Traits.inc for clang")));
 
 cl::opt<std::string>
-ClangComponent("clang-component",
-               cl::desc("Only use warnings from specified component"),
-               cl::value_desc("component"), cl::Hidden);
+    ClangComponent("clang-component",
----------------
erichkeane wrote:

Unrelated change, please don't format this separately.

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


More information about the cfe-commits mailing list