llvm-project/clang-tools-extra/clang-tidy
Alexander Kornienko f305000a91 [clang-tidy] misc-braces-around-statements.ShortStatementLines option
Add option ShortStatementLines to trigger this check only if the statement spans
over at least a given number of lines.

Modifications from the original patch:
  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.

http://reviews.llvm.org/D5642

Patch by Marek Kurdej!

llvm-svn: 219611
2014-10-13 12:46:22 +00:00
..
google [clang-tidy] Allow space between "TODO" and "(user)" 2014-10-05 23:40:30 +00:00
llvm Add NamespaceCommentCheck to the Google module. 2014-09-22 10:41:39 +00:00
misc [clang-tidy] misc-braces-around-statements.ShortStatementLines option 2014-10-13 12:46:22 +00:00
readability Add NamespaceCommentCheck to the Google module. 2014-09-22 10:41:39 +00:00
tool Fix a typo 2014-09-26 11:48:53 +00:00
utils Make a variable local so it's lifetime becomes more obvious. 2014-09-17 13:12:51 +00:00
CMakeLists.txt Add NamespaceCommentCheck to the Google module. 2014-09-22 10:41:39 +00:00
ClangTidy.cpp Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
ClangTidy.h Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
ClangTidyDiagnosticConsumer.cpp Implemented clang-tidy configurability via .clang-tidy files. 2014-09-04 14:23:36 +00:00
ClangTidyDiagnosticConsumer.h Implemented clang-tidy configurability via .clang-tidy files. 2014-09-04 14:23:36 +00:00
ClangTidyModule.cpp Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
ClangTidyModule.h Implemented clang-tidy-check-specific options. 2014-09-12 08:53:36 +00:00
ClangTidyModuleRegistry.h clang-tidy: Instantiate llvm::Registry<clang::tidy::ClangTidyModule>. 2014-07-03 14:12:47 +00:00
ClangTidyOptions.cpp Provide user name in ClangTidyOptions. 2014-09-24 18:36:03 +00:00
ClangTidyOptions.h Provide user name in ClangTidyOptions. 2014-09-24 18:36:03 +00:00
Makefile Add NamespaceCommentCheck to the Google module. 2014-09-22 10:41:39 +00:00