<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/108044>108044</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            [HLSL] Make HLSL 202x the default mode in Clang
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            HLSL
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          llvm-beanz
      </td>
    </tr>
</table>

<pre>
    When we started working on HLSL in Clang we intended that HLSL 2021 would be Clang's target initial version. Things have changed since then, and we're now targeting HLSL 202x as the initial default version. This allows us to de-prioritize some legacy HLSL features that we'd prefer not to bring to Clang.

To support this the following changes should be made:
* [] Fix the HLSL 202x mode (there are some tests which currently fail or behave differently under it)
* [] Define HLSL 202y mode
* [] Re-define older versions in LangStandards.def to match 202x, and emit a warning when using them
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxUU8FyqzgQ_BpxmbJLFpDgA4dsUq49ZC-bVO15QAPSRkguaTBxvv6VwH55OXGg1d3TPYMp2dETtaL-S9QvBc5sQmydu0y7jtB_FV3Q1_Y_Qx4WgsQYmTQsIX5YP0Lw8Pfr2ytYD88O_Zgx1jN5TRrYIG-_lVQHWMLsNHS0IYV6TMAYR2Kw3rJFBxeKyQa_h3dj_ZjA4IWgN-hH0pCs7wnYkBfqGdBrWEiox0jgw3Jjypbugp-AKcN_s2sacHb8QyUBOheWBHMCDqBpd442RMv2iyCFicDRiP11Yx0IeY6UtslWeQ3nSANF8IEzQxezBw7bkHshn4R8eg-Q5vM5RAbOmtnVELJwBm8DJkjmHtCEmkSZXwr1BFszcLKf68Pv-aagCYRq2FAkwHhzzJQ4wWJsb6CfYyTP7goDWgchQkdrqtoOA91-zV5TBMtCHX9KvtBg_bfidVX8CfmXdnpDBZdZbuGmvBGv6Mc3Rq8x6rTXNORcJuTerP7vNdJkGRAWjD7HseRVm9Mao6Gp0G2pj-URC2oPj6o-Nqps6sK0naZjTwfVY_1QVlg11AyEVaOrrpRVpQrbKqkqeTzIQ12WstzXD02vhuZBD5UkSUpUkia0bp-3fR_iWNiUZmoPspFVVTjsyKX1MJTKGQil8oncr2Mek6iks4nTNwNbdusxrQ_qF_gHP_7sLDd4X8S1v_vlFHN0rWE-p9y8Ogl1Gi2budv3YRLqlBVun905hv-pZ6FOq-Ek1Onm-dKqXwEAAP__SkpDTw">