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

    <tr>
        <th>Summary</th>
        <td>
            -Wenum-constexpr-conversion doesn't show template instanciation notes
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            clang:frontend,
            clang:diagnostics
      </td>
    </tr>

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

    <tr>
      <th>Reporter</th>
      <td>
          sylvain-audi
      </td>
    </tr>
</table>

<pre>
    Here is an example, comparing the result with another diagnostic (`-Wunused-variable`):
https://godbolt.org/z/7531b6661

With `-Wunused-variable` triggered inside a templated function, notes are output describing where the template was instanciated.
Those notes are missing with `-Wenum-constexpr-conversion`.

This was seen on both clang 16.0.0 and with trunk

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJx8Us1u2zAMfhr5QsSQ5VhJDj50LYI9QIGeZYu2tclSIFJJu6cf5GxLMWC7-Ackvx9-NERuDoi96L6I7qUymZeYevrwV-PCzmTrqiHaj_4rJgRHYALgu1kvHoV6hjGuF5NcmIEXhISUPcPN8QImRF4wgXVmDpHYjSDUUWi5e8shE9rd1SRnBo9CS6FOon0S8kXIp4X5QuVPnYU6z9EO0XMd0yzU-YdQ50PXNoPWurm3359vhfIf4MDJzTMmtOACOYtggHG9eMNoYcphZBdDcRMiI4FJCDHzJTNYpDG5ofi7LWUBxeXvWbgZKohswugKVn3X8rpEwk9YqyPaEP5oxJDX3RgDMb5fUvm6YqIiQsv6s63XxdFGQ4gBYoAh8gKjN2GGRteylmCCvSNzyuH7fayyfWtP7clU2Df6qPZtqztVLf2kbdtMcmhbM-F0GE3TaK3xpJWdjJSHyvVKqlbuVdfs97JTdYdj1-njUU8ah0mNYi9xNc7X3l_XkkrliDL2WrVdV3kzoKftlpTaZIr2aUoxMAYrlBLq-VPhcRpUat1LlfoCuxvyTGIvvSOmBxE79tj_Z3tgI1IQ6sBAS7w9gnqEVLq2ZKqcfP_XqTle8lCPcRXqXFh_vXaXFL_hyEKdN68k1Hmz-zMAAP__L6USXg">