diff options
| author | Krystyna Gajczyk <krystyna.gajczyk@gmail.com> | 2016-06-25 18:37:53 +0000 |
|---|---|---|
| committer | Krystyna Gajczyk <krystyna.gajczyk@gmail.com> | 2016-06-25 18:37:53 +0000 |
| commit | c37933a12ad181db3f5f40bb99318f8eb7f25903 (patch) | |
| tree | 943642627813d91d65d9361e9ac5ff694ba2fc18 /clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp | |
| parent | 3bc1af2be470106c961fdae4d08fdbe444a2114d (diff) | |
| download | bcm5719-llvm-c37933a12ad181db3f5f40bb99318f8eb7f25903.tar.gz bcm5719-llvm-c37933a12ad181db3f5f40bb99318f8eb7f25903.zip | |
[clang-tidy] Add modernize-use-using
http://reviews.llvm.org/D18919
llvm-svn: 273786
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp')
| -rw-r--r-- | clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp b/clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp index 5992adecd04..15c9a57810f 100644 --- a/clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp +++ b/clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp @@ -26,6 +26,7 @@ #include "UseEmplaceCheck.h" #include "UseNullptrCheck.h" #include "UseOverrideCheck.h" +#include "UseUsingCheck.h" using namespace clang::ast_matchers; @@ -58,6 +59,7 @@ public: CheckFactories.registerCheck<UseEmplaceCheck>("modernize-use-emplace"); CheckFactories.registerCheck<UseNullptrCheck>("modernize-use-nullptr"); CheckFactories.registerCheck<UseOverrideCheck>("modernize-use-override"); + CheckFactories.registerCheck<UseUsingCheck>("modernize-use-using"); } ClangTidyOptions getModuleOptions() override { |

