From 35ddae4a9b22da8fd43511a2e5f0836230776b50 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Wed, 15 Oct 2014 10:51:57 +0000 Subject: [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 --- clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp') 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) \ -- cgit v1.2.3