[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.
Marek Kurdej
curdeius at gmail.com
Thu Oct 9 12:52:45 PDT 2014
Use -config to pass CheckOptions.
- [clang-tidy] [misc-braces-around-statements] Using -config for tests instead of a new .clang-tidy file. Default value set to: 0U.
- Merge branch 'master' into feature/misc-braces-around-statements-option
http://reviews.llvm.org/D5642
Files:
clang-tidy/misc/BracesAroundStatementsCheck.cpp
clang-tidy/misc/BracesAroundStatementsCheck.h
test/clang-tidy/misc-braces-around-statements-always.cpp
test/clang-tidy/misc-braces-around-statements-few-lines.cpp
test/clang-tidy/misc-braces-around-statements-same-line.cpp
test/clang-tidy/misc-braces-around-statements-single-line.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5642.14671.patch
Type: text/x-patch
Size: 9091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141009/164ac415/attachment.bin>
More information about the cfe-commits
mailing list