Issue |
154923
|
Summary |
[clang-tidy] readability-inconsistent-declaration-parameter-name should display the differing parameters in the main error message, not as a note
|
Labels |
clang-tidy
|
Assignees |
|
Reporter |
carlosgalvezp
|
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:
```
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs