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

    <tr>
        <th>Summary</th>
        <td>
            __cpp_nontype_template_args is not reported as 201911L even when compiling in c++ >= 20
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          Julien-Blanc-tgcm
      </td>
    </tr>
</table>

<pre>
    The feature is correctly supported by clang, but is still reported as `201411L`, whatever the current C++ version is used.

It should be correctly set to `201911L` when compiling in C++20 and above..
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxskU_P2ywQxD8NvqxiAf4T-8AheZ430lv12HuE8camwmDB4ijfvnLqqq3UEwdmZ3d-o1Oyk0dUrLmy5rPQmeYQ1ZfsLPrT1WlvTjSZpRjC-FLfZoQHasoRwSYwIUY05F6Q8rqGSDjC8ALjtJ-Y_IAh0y5LZJ2DiIdCJ2Atl1zUQnxlLd-Vz1kTbhiBZgSTY0RP8MHklckrbBiTDX63ygnHkvEL45f_CdIcshthwD8vQQIKx4b-5wZ4zujBhGW1zvoJrP_lLTloP4IewoZlWYyqGvuq1wUqcW4rUYmu7YtZyY73ZhwbrLuhqyrzGMZO19g0lTDdWdeFVZLLRghRi7oWvCvbMzZ9deaDFH3dtw9Wc1y0daVz21KGOBU2pYxKtB0_88LpAV16lyClxye8f5mUeydR7UOnIU-J1dzZROm3DVlyqO53s653Hzy9VrwTLqvThHcdp7Rj84H-4n-gAdzQ_wOOOcCz6j9WfYLkRY5OzURrYtWFyRuTt8nSnIfShIXJ237N8ZzWGL6jISZv7wyJydsRclPyRwAAAP__2cLHfg">