llvm-project
9dc65372 - [clang-tidy] Don't report unnamed params for misc-const-correctness (#184388)

Commit
79 days ago
[clang-tidy] Don't report unnamed params for misc-const-correctness (#184388) Previously misc-const-correctness warned about non-const unnamed parameters; but this commit excludes them because these warnings are not actually useful. An unnamed parameter cannot be referenced at all, so marking them as 'const' doesn't add additional information. Also the diagnostic messages look awkward without a name. Fixes #184330
Author
Parents
Loading