[clang] Implement resource binding type prefix mismatch diagnostic infrastructure (PR #97103)
Damyan Pepper via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 9 18:00:02 PDT 2024
================
@@ -20,12 +20,12 @@ tbuffer g_tbuffer1 {
float f5 : register(c2);
};
-tbuffer g_cbuffer2 {
+cbuffer g_cbuffer2 {
// expected-error at +1{{register binding type 'float' not supported for variable of type 'b'}}
----------------
damyanp wrote:
hmmm...is this message actually correct? This seems more correct to me:
> register binding type 'b' not supported for variable of type 'float'
https://github.com/llvm/llvm-project/pull/97103
More information about the cfe-commits
mailing list