[PATCH] D23265: [clang-tidy] enhance readability-else-after-return
Kirill Bobyrev via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 10 05:35:29 PDT 2016
omtcyfz updated this revision to Diff 67513.
omtcyfz added a comment.
Remove braces around single statement in `for` and `if` as Alex proposed.
https://reviews.llvm.org/D23265
Files:
clang-tidy/readability/ElseAfterReturnCheck.cpp
docs/clang-tidy/checks/readability-else-after-return.rst
test/clang-tidy/readability-else-after-return.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D23265.67513.patch
Type: text/x-patch
Size: 5512 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160810/c1df41f5/attachment.bin>
More information about the cfe-commits
mailing list