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

    <tr>
        <th>Summary</th>
        <td>
            [clang-tidy] readability-inconsistent-declaration-parameter-name should display the differing parameters in the main error message, not as a note
        </td>
    </tr>

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

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

    <tr>
      <th>Reporter</th>
      <td>
          carlosgalvezp
      </td>
    </tr>
</table>

<pre>
    As a user, the most important thing to know is which parameters differ between the declaration and the definition. However, this information is only displayed as the second note, which takes a lot time to find.

It would be better if it displayed it like this:

```
warning: function 'foo' has differing parameter names in the declaration ('bar') and the definition ('baz')
note: declaration seen here: 
note: definition seen here:
```
</pre>
<img width="1" height="1" alt="" src="http://email.email.llvm.org/o/eJxsktGOozAMRb8mvFitIDQtfeCB3VG1-xmGGPBOSKrEtOp8_Qra6XY0KyEhGfvie3wxJR48Ua3MD2XeMpxlDLHuMLqQBnQX-jhnbbC3ukmAMCeKSv8EGQmmkAR4Ooco6AVkZD-ABHj34Qqc4DpyN8IZI04kFBNY7nuK0JJcifyqYalzGFE4eEBvH7WePS-lLfwKV7p8_pITsO9DnO79nCB4dwPL6ezwRhYwrQKJuuAt-CC0DN73EHynxYELAsITLZv27O1W5Y3Km98C1zA7Cy0tCwpF4B5YXtRZwPE7rYuosrnPqX3-ePLmitGzH1TZQD_7bl1S6UMfgtIHGPGTwMLpiQU8TrQY-8ZD6UrpQ4tR6YPSx__webZ83FtU3qymy-aLUFpojxTXD196nkKvLa-uMluX9lgeMaO6OBhTmWO-q7Kx3hnM8airPRa7vdHH0pp2h0VRVPu2M1hlXOtcm7zSusjLg6622u77oihMm-uyL0yvdjlNyG7r3GXahjhknNJMdWF2R11mDltyaY2l1p1DP2yE7U1pvcQ01svUpp2HpHa54yTpn46wuDXQL2PmDSKhxZYdy23Dvgs-cRLysnlhtXneZbPcBdK4huIRgjv-7zd8nm9C9kAxhggTpYTDGkAfZIkmronM5ujqUeS8ZkiflD4NLOPcbrswKX1aXDxem3MMf6gTpU8rmqT06UHnUuu_AQAA___rAT8l">