[clang] [HLSL] Add HLSL 202y language mode (PR #108437)
Chris B via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 12 15:23:58 PDT 2024
================
@@ -12397,6 +12397,9 @@ def warn_attr_min_eq_max: Warning<
def err_hlsl_attribute_number_arguments_insufficient_shader_model: Error<
"attribute %0 with %1 arguments requires shader model %2 or greater">;
+def ext_hlsl_auto_type_specifier : ExtWarn<
+ "'auto' type specifier is a HLSL 202y extension">, InGroup<HLSL202y>;
----------------
llvm-beanz wrote:
We could share the string, but since we want different warning groups they do need to be different warnings.
https://github.com/llvm/llvm-project/pull/108437
More information about the cfe-commits
mailing list