This fixes a false-positive e.g. when string literals are returned from if statement.
This patch includes as well a small fix to includes and renames of the test suite that collided with the name of the check.
Paths
| Differential D25558
[clang-tidy] Fix readability-braces-around-statements false positive ClosedPublic Authored by curdeius on Oct 13 2016, 7:11 AM.
Details Summary This fixes a false-positive e.g. when string literals are returned from if statement. This patch includes as well a small fix to includes and renames of the test suite that collided with the name of the check.
Diff Detail
Event TimelineComment Actions Thanks, LGTM with one nit.
This revision is now accepted and ready to land.Oct 13 2016, 7:49 AM
Revision Contents
Diff 74624 clang-tidy/modernize/UseUsingCheck.cppclang-tidy/readability/BracesAroundStatementsCheck.cpp
unittests/clang-tidy/ReadabilityModuleTest.cpp
|
The change is fine, but it would be better to commit it separately (obviously, no need to do anything now, just for the future).