For example:
void foo(int a); foo(-2);
should be fixed as:
foo(/*a=*/-2);
This change tries to fix this issue.
Differential D67084
[clang-tidy] Fix bugprone-argument-comment bug: negative literal number is not checked. xyb on Sep 2 2019, 12:20 PM. Authored by
Details
For example: void foo(int a); foo(-2); should be fixed as: foo(/*a=*/-2); This change tries to fix this issue.
Diff Detail
Event Timeline
Comment Actions Please add full context to the diff. See https://llvm.org/docs/Phabricator.html#requesting-a-review-via-the-web-interface Comment Actions LGTM!
|