Issue 241421
Summary [HLSL][202x][0010] Add warning that static_assert is 202x extension
Labels HLSL
Assignees
Reporter spall
    Add a warning that static assert is a 202x extension.
Emit the warning when static assert is used in an HLSL version before 202x.
Add tests showing the warning is emitted.
https://godbolt.org/z/4chY6bYhh
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to