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

    <tr>
        <th>Summary</th>
        <td>
            Backport "[clang] Represent array refs as TemplateArgument::Declaration"
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          bolshakov-a
      </td>
    </tr>
</table>

<pre>
    /cherry-pick 9bf4e54

This returns array-referring NTTP behavior to which was prior to #78041 to avoid regressions.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxEkM2q4zAMhZ_G2ZgWx_lfeNFLyXIYhr6A7Cixp24cJKeXvv2Q9sJsJCHpCJ0PmMOyIhrRfInmWsCefSJjU2QP9_Q8QWHT9DJCj84j0eu0BXeXg51rbGqhrkJdPvHmA0vCvNPKEojgdSKckSisi_x1u_2WFj08QyKZk_z2wXn5DSw3-mkJXXW9qsujhmcKkyRcCJlDWvlcTKaahmqAAk3ZqbYr66pVhTcIbWn7fm66Ws3Q9y12feuaqrbdNOu5KoLRSteqrMqyKQetzgD1oKGzULWu66dB1AofEOI5xufjnGgpAvOOpldlo4oIFiO_-WjtIqyL0PpARebYP9l9YVGrGDjz_ws55IjmC9x9S5TlW_L1UTdX-Qc3QsY1f0BJwpklsLzhY4uQ8ULL_sA1i-oiqssVXQSCHNIqtC52isbnvPEx1aPQ4xKy3-3ZpYfQ4_HCTzptlP6iy0KPb0cs9Pg29S8AAP__sfOh_w">