[PATCH] [clang-tidy] Add check misc-braces-around-statements.

Marek Kurdej curdeius at gmail.com
Sat Sep 27 06:52:19 PDT 2014


Fix BracesAroundStatementsCheck with nested statements. Apply comments from alexfh.
  - Add llvm_unreachable.
  - [clang-tidy] Fix BracesAroundStatementsCheck with nested statements.

http://reviews.llvm.org/D5395

Files:
  clang-tidy/misc/BracesAroundStatementsCheck.cpp
  clang-tidy/misc/BracesAroundStatementsCheck.h
  clang-tidy/misc/CMakeLists.txt
  clang-tidy/misc/MiscTidyModule.cpp
  test/clang-tidy/misc-braces-around-statements.cpp
  unittests/clang-tidy/MiscModuleTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5395.14145.patch
Type: text/x-patch
Size: 29362 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140927/0e455e95/attachment.bin>


More information about the cfe-commits mailing list