diff options
author | Alexander Kornienko <alexfh@google.com> | 2014-10-26 01:41:14 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2014-10-26 01:41:14 +0000 |
commit | 2192a8e5193716613bb9d64090a8843f7e5ca7fb (patch) | |
tree | 9d697a594076c9629ae0f9b89a4703317aab77b0 /clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp | |
parent | f0ba6ce309d9ab412982e71cda9b3981e25625fd (diff) | |
download | llvm-2192a8e5193716613bb9d64090a8843f7e5ca7fb.zip llvm-2192a8e5193716613bb9d64090a8843f7e5ca7fb.tar.gz llvm-2192a8e5193716613bb9d64090a8843f7e5ca7fb.tar.bz2 |
[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
Diffstat (limited to 'clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp b/clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp index c2220b6..d4ba1db 100644 --- a/clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp +++ b/clang-tools-extra/clang-tidy/misc/MiscTidyModule.cpp @@ -10,11 +10,6 @@ #include "../ClangTidy.h" #include "../ClangTidyModule.h" #include "../ClangTidyModuleRegistry.h" -// FIXME: Figure out if we want to create a separate module for readability -// checks instead of registering them here. -#include "../readability/BracesAroundStatementsCheck.h" -#include "../readability/FunctionSize.h" -#include "../readability/RedundantSmartptrGet.h" #include "ArgumentCommentCheck.h" #include "BoolPointerImplicitConversion.h" #include "SwappedArgumentsCheck.h" @@ -31,12 +26,6 @@ public: CheckFactories.registerCheck<ArgumentCommentCheck>("misc-argument-comment"); CheckFactories.registerCheck<BoolPointerImplicitConversion>( "misc-bool-pointer-implicit-conversion"); - CheckFactories.registerCheck<readability::BracesAroundStatementsCheck>( - "misc-braces-around-statements"); - CheckFactories.registerCheck<readability::FunctionSizeCheck>( - "misc-function-size"); - CheckFactories.registerCheck<readability::RedundantSmartptrGet>( - "misc-redundant-smartptr-get"); CheckFactories.registerCheck<SwappedArgumentsCheck>( "misc-swapped-arguments"); CheckFactories.registerCheck<UndelegatedConstructorCheck>( |