[clang-tidy] Bring order to check registration.
authorAlexander Kornienko <alexfh@google.com>
Sun, 26 Oct 2014 01:41:14 +0000 (01:41 +0000)
committerAlexander Kornienko <alexfh@google.com>
Sun, 26 Oct 2014 01:41:14 +0000 (01:41 +0000)
commit2192a8e5193716613bb9d64090a8843f7e5ca7fb
tree9d697a594076c9629ae0f9b89a4703317aab77b0
parentf0ba6ce309d9ab412982e71cda9b3981e25625fd
[clang-tidy] Bring order to check registration.

Summary:
Register readability checks in a separate module. Renamed the checks
and test file names accordingly.

Reviewers: djasper, klimek

Reviewed By: klimek

Subscribers: curdeius, cfe-commits

Differential Revision: http://reviews.llvm.org/D5936

llvm-svn: 220631
21 files changed:
clang-tools-extra/clang-tidy/google/CMakeLists.txt
clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp
clang-tools-extra/clang-tidy/llvm/CMakeLists.txt
clang-tools-extra/clang-tidy/misc/CMakeLists.txt
clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp
clang-tools-extra/clang-tidy/readability/CMakeLists.txt
clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp [new file with mode: 0644]
clang-tools-extra/clang-tidy/tool/CMakeLists.txt
clang-tools-extra/clang-tidy/tool/ClangTidyMain.cpp
clang-tools-extra/test/clang-tidy/google-module.cpp
clang-tools-extra/test/clang-tidy/google-readability-casting.c [moved from clang-tools-extra/test/clang-tidy/avoid-c-style-casts.c with 100% similarity]
clang-tools-extra/test/clang-tidy/google-readability-casting.cpp [moved from clang-tools-extra/test/clang-tidy/avoid-c-style-casts.cpp with 100% similarity]
clang-tools-extra/test/clang-tidy/misc-use-override.cpp [moved from clang-tools-extra/test/clang-tidy/use-override.cpp with 100% similarity]
clang-tools-extra/test/clang-tidy/readability-braces-around-statements-few-lines.cpp [moved from clang-tools-extra/test/clang-tidy/misc-braces-around-statements-few-lines.cpp with 77% similarity]
clang-tools-extra/test/clang-tidy/readability-braces-around-statements-same-line.cpp [moved from clang-tools-extra/test/clang-tidy/misc-braces-around-statements-same-line.cpp with 82% similarity]
clang-tools-extra/test/clang-tidy/readability-braces-around-statements-single-line.cpp [moved from clang-tools-extra/test/clang-tidy/misc-braces-around-statements-single-line.cpp with 80% similarity]
clang-tools-extra/test/clang-tidy/readability-braces-around-statements.cpp [moved from clang-tools-extra/test/clang-tidy/misc-braces-around-statements.cpp with 98% similarity]
clang-tools-extra/test/clang-tidy/readability-function-size.cpp [moved from clang-tools-extra/test/clang-tidy/misc-function-size.cpp with 88% similarity]
clang-tools-extra/test/clang-tidy/readability-redundant-smartptr-get.cpp [moved from clang-tools-extra/test/clang-tidy/redundant-smartptr-get.cpp with 95% similarity]
clang-tools-extra/unittests/clang-tidy/CMakeLists.txt
clang-tools-extra/unittests/clang-tidy/ReadabilityModuleTest.cpp [moved from clang-tools-extra/unittests/clang-tidy/ReadabilityChecksTest.cpp with 100% similarity]