[PATCH] Force braces on the else branch if they are being added to the if branch.
Samuel Benzaquen
sbenza at google.com
Mon Mar 30 13:33:46 PDT 2015
Hi alexfh,
Force braces on the else branch if they are being added to the if branch.
This ensures consistency in the transformed code.
http://reviews.llvm.org/D8708
Files:
clang-tidy/readability/BracesAroundStatementsCheck.cpp
clang-tidy/readability/BracesAroundStatementsCheck.h
unittests/clang-tidy/ClangTidyTest.h
unittests/clang-tidy/ReadabilityModuleTest.cpp
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8708.22905.patch
Type: text/x-patch
Size: 5696 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150330/76697936/attachment.bin>
More information about the cfe-commits
mailing list