summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2014-10-15 10:51:57 +0000
committerAlexander Kornienko <alexfh@google.com>2014-10-15 10:51:57 +0000
commit35ddae4a9b22da8fd43511a2e5f0836230776b50 (patch)
tree0ee137958546266fa7d4b35a73cdbd399174ef95 /clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp
parent14c5ec51945be51c55c58cc4d2a1e4f1cfb56533 (diff)
downloadbcm5719-llvm-35ddae4a9b22da8fd43511a2e5f0836230776b50.tar.gz
bcm5719-llvm-35ddae4a9b22da8fd43511a2e5f0836230776b50.zip
[clang-tidy] Move some of the misc checks to readability/
Summary: Some of the misc checks belong to readability/. I'm moving them there without changing check names for now. As the next step, I want to register some of these checks in the google and llvm modules with suitable settings (e.g. BracesAroundStatementsCheck). I'm not sure if we want to create a "readability" module, probably not. Reviewers: djasper Reviewed By: djasper Subscribers: curdeius, cfe-commits Differential Revision: http://reviews.llvm.org/D5792 llvm-svn: 219786
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp')
-rw-r--r--clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp b/clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp
index 97390c267dd..f8419ab4eb4 100644
--- a/clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp
+++ b/clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp
@@ -1,10 +1,13 @@
#include "ClangTidyTest.h"
#include "misc/ArgumentCommentCheck.h"
-#include "misc/BracesAroundStatementsCheck.h"
+#include "readability/BracesAroundStatementsCheck.h"
#include "gtest/gtest.h"
namespace clang {
namespace tidy {
+
+using readability::BracesAroundStatementsCheck;
+
namespace test {
#define EXPECT_NO_CHANGES(Check, Code) \
OpenPOWER on IntegriCloud