[clang] [llvm] Implement resource binding type prefix mismatch errors (PR #87578)

Xiang Li via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 12:38:31 PDT 2024


================
@@ -12154,6 +12154,8 @@ def err_hlsl_missing_semantic_annotation : Error<
 def err_hlsl_init_priority_unsupported : Error<
   "initializer priorities are not supported in HLSL">;
 
+def err_hlsl_mismatching_register_resource_type_and_name: Error<"invalid register name prefix '%0' for register resource type '%1' (expected %select{'t'|'u'|'b'|'t'|'s'}2)">;
----------------
python3kgae wrote:

't' happened twice.

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


More information about the llvm-commits mailing list