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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 24 07:31:26 PDT 2026


================
@@ -0,0 +1,556 @@
+class Trait<string P> {
+  string Prefix = P;
+  string Spelling = "";
+  string StdName = "";
+  string KeyFlag = "KEYCXX";
----------------
AaronBallman wrote:

It'd be nice to avoid using strings for this -- these keys are already pretty complicated and I expect we'll find more delineations to make in the future.

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


More information about the cfe-commits mailing list