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

Justin Bogner via cfe-commits cfe-commits at lists.llvm.org
Mon Apr 22 11:50:34 PDT 2024


================
@@ -45,7 +45,7 @@ void foo2() {
   extern RWBuffer<float> U2 : register(u5);
 }
 // FIXME: expect-error once fix https://github.com/llvm/llvm-project/issues/57886.
-float b : register(u0, space1);
+// float b : register(u0, space1) {}
----------------
bogner wrote:

Shouldn't we be adding the `// expected-error:` here rather than commenting this out?

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


More information about the cfe-commits mailing list