summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-03-02 12:25:03 +0000
committerAlexander Kornienko <alexfh@google.com>2015-03-02 12:25:03 +0000
commit2b312420aadfc3f0e0ff24bd95574ab9f81b7f24 (patch)
tree1a2b1f0672c44294f931b1a149e3354b4ae725f5 /clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp
parent39ccabe500fb7af76143bf5b55a01f0767044fdc (diff)
downloadbcm5719-llvm-2b312420aadfc3f0e0ff24bd95574ab9f81b7f24.tar.gz
bcm5719-llvm-2b312420aadfc3f0e0ff24bd95574ab9f81b7f24.zip
[clang-tidy] Refactor: Move misc clang-tidy checks to namespace clang::tidy::misc
clang-tidy checks are organized into modules. This refactoring moves the misc module checks into the namespace clang::tidy::misc http://reviews.llvm.org/D7996 Patch by Richard Thomson! llvm-svn: 230950
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp')
-rw-r--r--clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp b/clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp
index 2e1fbbabb63..a42b2e5660c 100644
--- a/clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp
+++ b/clang-tools-extra/unittests/clang-tidy/MiscModuleTest.cpp
@@ -6,6 +6,8 @@ namespace clang {
namespace tidy {
namespace test {
+using misc::ArgumentCommentCheck;
+
TEST(ArgumentCommentCheckTest, CorrectComments) {
EXPECT_NO_CHANGES(ArgumentCommentCheck,
"void f(int x, int y); void g() { f(/*x=*/0, /*y=*/0); }");
OpenPOWER on IntegriCloud