[clang] [HLSL] Allow input semantics on structs (PR #159047)

Nathan Gauër via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 15 08:28:08 PDT 2025


================
@@ -400,10 +400,6 @@ def warn_hlsl_langstd_minimal :
           "recommend using %1 instead">,
   InGroup<HLSLDXCCompat>;
 
-def err_hlsl_semantic_missing : Error<"semantic annotations must be present "
-                                      "for all input and outputs of an entry "
-                                      "function or patch constant function">;
-
----------------
Keenuts wrote:

This is removing the codegen diagnostic, there is a very similar message I'm using in `DiagnosticSemaKinds.td`

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


More information about the cfe-commits mailing list