Small cleanups from review comments.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@219409 91177308-0d34-0410-b5e6-96231b3b80d8
WIP.
Merge branch 'master' into feature/clang-tidy-misc-qualifiers-order
[clang-tidy] [misc-qualifiers-order] Working with simple types, pointers, references, templates.
Re-structure clang-rename into a library and the tool.

This allows the unit tests to link the library.

Patch by Xin Huang.

git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@219609 91177308-0d34-0410-b5e6-96231b3b80d8
[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!



git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@219611 91177308-0d34-0410-b5e6-96231b3b80d8
Taking into account namespaces.
Some cleaning.
Merge branch 'master' into feature/clang-tidy-misc-qualifiers-order