[PATCH] Force braces on the else branch if they are being added to the if branch.

Samuel Benzaquen sbenza at google.com
Tue Mar 31 06:55:54 PDT 2015


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8708

Files:
  clang-tools-extra/trunk/clang-tidy/readability/BracesAroundStatementsCheck.cpp
  clang-tools-extra/trunk/clang-tidy/readability/BracesAroundStatementsCheck.h
  clang-tools-extra/trunk/unittests/clang-tidy/ClangTidyTest.h
  clang-tools-extra/trunk/unittests/clang-tidy/ReadabilityModuleTest.cpp

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8708.22953.patch
Type: text/x-patch
Size: 6107 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150331/0aae5d7c/attachment.bin>


More information about the cfe-commits mailing list