[clang] Implement resource binding type prefix mismatch diagnostic infrastructure (PR #97103)
Helena Kotas via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 22 11:36:36 PDT 2024
================
@@ -1547,6 +1547,9 @@ def DXILValidation : DiagGroup<"dxil-validation">;
// Warning for HLSL API availability
def HLSLAvailability : DiagGroup<"hlsl-availability">;
+// Warnings for legacy binding behavior
+def DisallowLegacyBindingRules : DiagGroup<"disallow-legacy-binding-rules">;
+
----------------
hekota wrote:
I think it would be better to name the group `legacy-binding-rules`. The verb `disallow` just makes it confusing when turning these into warnings like this: `-Wno-error=legacy-binding-rules`.
https://github.com/llvm/llvm-project/pull/97103
More information about the cfe-commits
mailing list