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

Farzon Lotfi via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 15 10:25:01 PDT 2024


================
@@ -7337,8 +7337,8 @@ static void handleHLSLResourceBindingAttr(Sema &S, Decl *D,
   // Validate.
   if (!Slot.empty()) {
     switch (Slot[0]) {
-    case 'u':
     case 'b':
+    case 'u':
----------------
farzonl wrote:

Why make this change? if its for alphabetical reasons, stu should be the order, if not why leave as is?

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


More information about the cfe-commits mailing list