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

Marek Kurdej curdeius at gmail.com
Mon Sep 22 07:20:21 PDT 2014


Fix and clean as suggested by alexfk.
  - [clang-tidy] Fix BracesAroundStatementsCheck when processing 'if' and 'while' statements with comments inside condition.

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.13932.patch
Type: text/x-patch
Size: 21694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140922/e5a7e596/attachment.bin>


More information about the cfe-commits mailing list