[clang] [Clang] Remove unused TokenKey::KEYNOZOS (PR #207132)

Cyrus Ding via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 3 07:26:06 PDT 2026


================
@@ -74,15 +74,20 @@ enum TokenKey : unsigned {
   KEYSYCL = 0x800000,
   KEYCUDA = 0x1000000,
   KEYZOS = 0x2000000,
-  KEYNOZOS = 0x4000000,
+  // 0x4000000 was KEYNOZOS, which was unused. The value is kept reserved
----------------
dingcyrus wrote:

thank you for asking!

To be honest, I didn't think about renumbering at the time – I simply preserved the existing reserved slot to avoid unintended side effects. 

If the consensus is that we should renumber and close the gap, I can prepare a follow-up PR. Just let me know.

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


More information about the cfe-commits mailing list