summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
diff options
context:
space:
mode:
authorKrystyna Gajczyk <krystyna.gajczyk@gmail.com>2016-06-25 18:37:53 +0000
committerKrystyna Gajczyk <krystyna.gajczyk@gmail.com>2016-06-25 18:37:53 +0000
commitc37933a12ad181db3f5f40bb99318f8eb7f25903 (patch)
tree943642627813d91d65d9361e9ac5ff694ba2fc18 /clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
parent3bc1af2be470106c961fdae4d08fdbe444a2114d (diff)
downloadbcm5719-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.cpp2
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 {
OpenPOWER on IntegriCloud