You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[clang-tidy] readability-inconsistent-declaration-parameter-name should display the differing parameters in the main error message, not as a note #154923
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: