llvm-project/clang-tools-extra/test/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
..
Inputs Implemented clang-tidy configurability via .clang-tidy files. 2014-09-04 14:23:36 +00:00
arg-comments.cpp ClangTidy misc-argument-comment check: don't check arguments to template 2014-09-03 14:56:30 +00:00
avoid-c-style-casts.c [clang-tidy] Test username substitution in TODO() check. 2014-09-26 12:44:30 +00:00
avoid-c-style-casts.cpp [clang-tidy] Handle c-style casts from/to enums. 2014-10-01 12:47:53 +00:00
basic.cpp Change the behavior of clang-tidy -checks=, remove -disable-checks. 2014-05-15 14:27:36 +00:00
check_clang_tidy_fix.sh Corrected a comment in check_clang_tidy_fix.sh 2014-09-26 12:51:13 +00:00
clang-tidy-diff.cpp clang-tidy: [use-override] Tweak messages. 2014-07-28 07:29:29 +00:00
config-files.cpp Implemented clang-tidy configurability via .clang-tidy files. 2014-09-04 14:23:36 +00:00
deduplication.cpp Never filter-out compile errors in clang-tidy, display them as errors. 2014-06-02 20:44:32 +00:00
diagnostic.cpp Implemented clang-tidy configurability via .clang-tidy files. 2014-09-04 14:23:36 +00:00
file-filter.cpp Change the behavior of clang-tidy -checks=, remove -disable-checks. 2014-05-15 14:27:36 +00:00
fix.cpp [clang-tidy] Add an option to export suggested fixes into a file. 2014-09-04 10:31:23 +00:00
google-explicit-make-pair.cpp [clang-tidy] Fix a false positive in the make_pair checker if an argument has a explicit template argument. 2014-07-21 09:40:52 +00:00
google-member-string-references.cpp [clang-tidy] Add a checker that warns on const string & members. 2014-07-16 10:00:14 +00:00
google-memset-zero-length.cpp [clang-tidy] MemsetZeroLenghtChecker: Don't crash trying to evaluate dependent values. 2014-07-17 08:56:55 +00:00
google-namespaces.cpp [clang-tidy] Add namespaces checkers. 2014-07-16 14:16:56 +00:00
google-overloaded-unary-and.cpp [clang-tidy] Add a checker that flags all instances of overloaded unary operator& 2014-07-15 12:48:14 +00:00
google-readability-function.cpp Clang-tidy google-readability-function check: don't warn on gmock 2014-09-25 08:16:24 +00:00
google-readability-namespace-comments.cpp Add NamespaceCommentCheck to the Google module. 2014-09-22 10:41:39 +00:00
google-readability-todo.cpp [clang-tidy] Allow space between "TODO" and "(user)" 2014-10-05 23:40:30 +00:00
google-runtime-int.cpp Remove unused AST matcher. 2014-09-02 09:46:43 +00:00
line-filter.cpp clang-tools-extra/test/clang-tidy/line-filter.cpp: Tweak line-filter. 2014-05-24 08:42:12 +00:00
llvm-include-order.cpp [clang-tidy] Test username substitution in TODO() check. 2014-09-26 12:44:30 +00:00
llvm-twine-local.cpp Modify the tests to use FileCheck -implicit-check-not option being proposed in D4462 2014-07-11 13:44:51 +00:00
macros.cpp Change the behavior of clang-tidy -checks=, remove -disable-checks. 2014-05-15 14:27:36 +00:00
misc-bool-pointer-implicit-conversion.cpp [clang-tidy] Disable the warning on implicit bool* to bool conversion in macros. 2014-08-12 12:12:57 +00:00
misc-braces-around-statements-few-lines.cpp [clang-tidy] misc-braces-around-statements.ShortStatementLines option 2014-10-13 12:46:22 +00:00
misc-braces-around-statements-same-line.cpp [clang-tidy] misc-braces-around-statements.ShortStatementLines option 2014-10-13 12:46:22 +00:00
misc-braces-around-statements-single-line.cpp [clang-tidy] misc-braces-around-statements.ShortStatementLines option 2014-10-13 12:46:22 +00:00
misc-braces-around-statements.cpp [clang-tidy] misc-braces-around-statements.ShortStatementLines option 2014-10-13 12:46:22 +00:00
misc-function-size.cpp [clang-tidy] Add a checker for long functions. 2014-09-15 12:48:25 +00:00
misc-swapped-arguments.cpp [clang-tidy] Add a checker for swapped arguments. 2014-07-14 14:24:30 +00:00
misc-undelegated-constructor.cpp [clang-tidy] Add a checker for code that looks like a delegate constructors but doesn't delegate. 2014-07-31 09:58:52 +00:00
misc-unused-raii.cpp Reapply r213647 with a fix. 2014-07-23 11:49:46 +00:00
nolint.cpp Change the behavior of clang-tidy -checks=, remove -disable-checks. 2014-05-15 14:27:36 +00:00
redundant-smartptr-get.cpp Fixed compilation errors in tests, enforce checking for errors in check_clang_tidy_fix.sh. 2014-07-12 13:16:58 +00:00
select-checks.cpp Exit with error when no checks enabled. 2014-06-02 20:32:06 +00:00
static-analyzer.cpp Change the behavior of clang-tidy -checks=, remove -disable-checks. 2014-05-15 14:27:36 +00:00
temporaries.cpp Change the behavior of clang-tidy -checks=, remove -disable-checks. 2014-05-15 14:27:36 +00:00
use-override.cpp clang-tidy: [use-override] Tweak messages. 2014-07-28 07:29:29 +00:00
validate-check-names.cpp Implemented clang-tidy configurability via .clang-tidy files. 2014-09-04 14:23:36 +00:00