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

    <tr>
        <th>Summary</th>
        <td>
            multiple `readability-named-parameter` warnings not reported at once with line breaks in function signature
        </td>
    </tr>

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

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

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

<pre>
    ```cpp
#include <string>

class A {
public:
    A() {}
    virtual ~A() {}

    virtual void f(const std::string &a, const char b[], const std::size_t c);
};

class B : public A {
public:
    void f(const std::string&, // warning
           const char[], // no warning
           const std::size_t) override {} // no warning
};

class C : public A {
public:
    void f(const std::string&, const char[], const std::size_t) override {} // warning
};
```

```
<source>:13:30: warning: all parameters should be named in a function [readability-named-parameter]
    void f(const std::string&, // warning
                             ^
                              /*a*/
<source>:20:30: warning: all parameters should be named in a function [readability-named-parameter]
    void f(const std::string&, const char[], const std::size_t) override {} // warning
                             ^
                              /*a*/       /*b*/                /*c*/
```

https://godbolt.org/z/o9WdWGqrh

If you fix the warning in line 13 and run it again it will report the one in line 14 and so on.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzNVMtymzAU_Rqx0cQjkA32ggV5dfoFWXaEJIxaWaJ62E2_vlfgR-I4STvjRTWAL1f3cc7VMa0VzzUqyXTxYUDkHpEGFVQZrqOQGNE7H5wya0Qf9pvjk2vmPW4wqm4nxxBbrTii-30MC-osUbEaY6r7k3-rXIhMg__hUsjbwK1VAncQyq3xAfsgUh_aTMgwKkqGijs87fKeOdyixS1a3J-8pxz1W36DKOiK6B57an20X9C7BfoNnph9wvVjiIAwQUHFI1x4x5xJzmPyfp3wn9DvU4z9JOuMX5qp3UrnVDrDcbjvlXqP_N2VyV9i96_Y3wd-0PBLHudOkLKNjsskZdrkFB6UJJKHsmAyrfHAHNvIIJ3HvrdRC9xKbMAlsDKY4S4aHpQ1GIg4yQRrlVbh-WYMuTlmJ45X1cfbhRYPfxE11W3gP9Ik69IwCvLfDePqern6JF_52le-swT-avSXtNqHMPjEagS-tqK1Osysg2k8_obbrp7E05efrn-Z9LXDzzbiTv3CoZcHtulctDIS5xQzI7CLBquA2Zqp0dgpOFYnB-vCmGYh9JgyH1O8Be8sk3VelrSqaFGRTNRUrOiKZUEFLetN1EENGiZeko_OvSQHXB4-PWHfGNTDAvTggFqFfmreQp0fPmE5isqrtWEhOplFp-uzIUFibGfcbuBF6-3h52Zw9rvkoItH5X2UHoxFtaxo1te05GW5EoSwdi4JL_JyXnUkLxekW4plLjPNWql9nSRXFEbu8FgCbFBgpuqCFAVZFXm-yOeUzBhdkbKFeu2cS04kmhO5YUrPEo50epmrR0htXHvY1MoHf9qEzyzwk7KeFJ6xGHrr6k45uWNbmY296xH7H0hCMXY">