Issue 240513
Summary [HLSL][202x][0010] Add warning that decltype is a 202x extension
Labels HLSL
Assignees
Reporter spall
    If the decltype keyword is used before 202x emit a warning that it is a 202x extension.

Add a new warning that decltype is a 202x extension.
Emit it when the HLSL version is before 202x.
Add tests showing the warning is emitted.

https://godbolt.org/z/hcPGdxf8x
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to