[PATCH] [clang-tidy] misc-braces-around-statements: add option ShortStatementLines to trigger this check only if the statement spans over at least a given number of lines.

Alexander Kornienko alexfh at google.com
Mon Oct 13 05:59:06 PDT 2014


Committed as r219611 with minor modifications:
  merged test/clang-tidy/misc-braces-around-statements-always.cpp into
  test/clang-tidy/misc-braces-around-statements.cpp and removed unnecessary
  CHECK-NOTs from the tests.

Thanks for the patch!

http://reviews.llvm.org/D5642






More information about the cfe-commits mailing list