And add various tests gleaned for our codebase.
See PR27723.
Paths
| Differential D59360
[clang-tidy] Fix more false positives for bugprone-string-integer-assignment ClosedPublic Authored by courbet on Mar 14 2019, 5:47 AM.
Details
Summary And add various tests gleaned for our codebase. See PR27723.
Diff Detail
Event Timelinecourbet added inline comments.
This revision is now accepted and ready to land.Mar 22 2019, 12:04 PM Closed by commit rL356871: [clang-tidy] Fix more false positives for bugprone-string-integer-assignment (authored by courbet). · Explain WhyMar 25 2019, 1:16 AM This revision was automatically updated to reflect the committed changes. courbet marked an inline comment as done.
Revision Contents
Diff 190608 clang-tools-extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp
clang-tools-extra/test/clang-tidy/bugprone-string-integer-assignment.cpp
|
No need for the top-level const in the first parameter.