aboutsummaryrefslogtreecommitdiff
path: root/clang-tidy/tool/ClangTidyMain.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2014-10-26 01:41:14 +0000
committerAlexander Kornienko <alexfh@google.com>2014-10-26 01:41:14 +0000
commit817a7f592baca98cc85e53f11f255df7e2d5d25e (patch)
tree607a8fb953b0f95b2bf21367437bd5e8cc4dc843 /clang-tidy/tool/ClangTidyMain.cpp
parent07babf8b5c80f56ababdb1959cc54e6cc22f903b (diff)
[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 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@220631 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-tidy/tool/ClangTidyMain.cpp')
-rw-r--r--clang-tidy/tool/ClangTidyMain.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang-tidy/tool/ClangTidyMain.cpp b/clang-tidy/tool/ClangTidyMain.cpp
index 72d841e3..01de2e09 100644
--- a/clang-tidy/tool/ClangTidyMain.cpp
+++ b/clang-tidy/tool/ClangTidyMain.cpp
@@ -302,6 +302,10 @@ static int GoogleModuleAnchorDestination = GoogleModuleAnchorSource;
extern volatile int MiscModuleAnchorSource;
static int MiscModuleAnchorDestination = MiscModuleAnchorSource;
+// This anchor is used to force the linker to link the ReadabilityModule.
+extern volatile int ReadabilityModuleAnchorSource;
+static int ReadabilityModuleAnchorDestination = ReadabilityModuleAnchorSource;
+
} // namespace tidy
} // namespace clang