[clang] [HLSL] Collect explicit resource binding information (part 1) (PR #111203)
Joshua Batista via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 4 14:53:54 PDT 2024
================
@@ -115,12 +114,14 @@ struct Eg13{
MySRV s1;
MySRV s2;
};
-// expected-warning at +4{{binding type 'u' only applies to types containing UAV resources}}
// expected-warning at +3{{binding type 'u' only applies to types containing UAV resources}}
-// expected-warning at +2{{binding type 'u' only applies to types containing UAV resources}}
+// expected-error at +2{{binding type 'u' cannot be applied more than once}}
----------------
bob80905 wrote:
This extra diagnostic relates to my earlier comment, preventing multiple copies of the same diagnostic.
https://github.com/llvm/llvm-project/pull/111203
More information about the cfe-commits
mailing list