[clang] [HLSL] Disallow virtual inheritance and functions (PR #127346)
Sarah Spall via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 18 10:13:24 PST 2025
================
@@ -1817,5 +1817,9 @@ def ext_hlsl_access_specifiers : ExtWarn<
InGroup<HLSLExtension>;
def err_hlsl_unsupported_component : Error<"invalid component '%0' used; expected 'x', 'y', 'z', or 'w'">;
def err_hlsl_packoffset_invalid_reg : Error<"invalid resource class specifier '%0' for packoffset, expected 'c'">;
+def err_hlsl_virtual_function
----------------
spall wrote:
could you make this 1 diagnostic with a selector?
https://github.com/llvm/llvm-project/pull/127346
More information about the cfe-commits
mailing list