To check the google style guide rule here:
https://google.github.io/styleguide/cppguide.html#Default_Arguments
Details
Diff Detail
Event Timeline
| clang-tidy/google/DefaultArgumentsCheck.cpp | ||
|---|---|---|
| 32 | Usually, clang-tidy's warning message is not a sentence, so remove the . at the end. How about default arguments on virtual or override methods are prohibited? | |
| clang-tidy/google/GoogleTidyModule.cpp | ||
| 40 | Please keep the alphabetical order. | |
| docs/ReleaseNotes.rst | ||
| 106 | s/vitual/virtual | |
| docs/clang-tidy/checks/google-default-arguments.rst | ||
| 7 | I'm a little confused about the words here. Indeed, the google-default-arguments checks the default parameter given for virtual methods. | |
| test/clang-tidy/google-default-arguments.cpp | ||
| 6 | The the first warning message you need check the all message including the check name. | |
LGTM with one nit.
| test/clang-tidy/google-default-arguments.cpp | ||
|---|---|---|
| 10 | You can remove the [google-default-arguments] in this line and line 15. Usually we only keep it on the first warning message. | |
Usually, clang-tidy's warning message is not a sentence, so remove the . at the end.
How about default arguments on virtual or override methods are prohibited?