[clang] [HLSL] Rewrite semantics parsing (PR #152537)

Nathan Gauër via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 25 05:16:47 PDT 2025


================
@@ -393,6 +393,14 @@ def warn_hlsl_langstd_minimal :
           "recommend using %1 instead">,
   InGroup<HLSLDXCCompat>;
 
+def err_hlsl_semantic_index_overlap : Error<"semantic index overlap %0">;
+
+def err_hlsl_semantic_missing : Error<"semantic annotations must be present "
----------------
Keenuts wrote:

Added a test for the missing semantic, and removed the 2 others which should be added in a later PR.

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


More information about the cfe-commits mailing list