[clang] [HLSL] Align language modes on 202x as default (PR #108662)

Chris B via cfe-commits cfe-commits at lists.llvm.org
Mon Sep 16 14:50:19 PDT 2024


================
@@ -12,7 +12,7 @@
 // HALF: #define __HLSL_ENABLE_16_BIT 1
 // NOHALF-NOT: __HLSL_ENABLE_16_BIT
 
-// CHECK: #define __HLSL_VERSION 2021
+// CHECK: #define __HLSL_VERSION 2028
----------------
llvm-beanz wrote:

202x doesn't have a year yet, so to make it big and far out I gave it 2028 and 202y has 2029... these will change before we actually ship.

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


More information about the cfe-commits mailing list