aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
diff options
context:
space:
mode:
authorDon Hinton <hintonda@gmail.com>2019-05-10 18:27:09 +0000
committerDon Hinton <hintonda@gmail.com>2019-05-10 18:27:09 +0000
commitb75e7eae17a56a42f6e23f0f11d331ef260a51fe (patch)
tree900f5fe6e70dff7769be881e9a5a6c53c9b9d22f /clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
parent0c55985bbb407633eedde126a296438696866780 (diff)
downloadllvm-b75e7eae17a56a42f6e23f0f11d331ef260a51fe.zip
llvm-b75e7eae17a56a42f6e23f0f11d331ef260a51fe.tar.gz
llvm-b75e7eae17a56a42f6e23f0f11d331ef260a51fe.tar.bz2
[clang-tidy] Change the namespace for llvm checkers from 'llvm' to 'llvm_check'
Summary: Change the namespace for llvm checkers from 'llvm' to 'llvm_check', and modify add_new_check.py and rename_check.py to support the new namespace. Checker, file, and directory names remain unchanged. Used new version of rename_check.py to make the change in existing llvm checkers, but had to fix LLVMTidyModule.cpp and LLVMModuleTest.cpp by hand. The changes made by rename_check.py are idempotent, so if accidentally run multiple times, it won't do anything. Reviewed By: aaron.ballman Tags: #clang, #clang-tools-extra Differential Revision: https://reviews.llvm.org/D60629 llvm-svn: 360450
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp')
-rw-r--r--clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp b/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
index 8ab207d..aed9f6d 100644
--- a/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
+++ b/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
@@ -3,7 +3,7 @@
#include "llvm/IncludeOrderCheck.h"
#include "gtest/gtest.h"
-using namespace clang::tidy::llvm;
+using namespace clang::tidy::llvm_check;
namespace clang {
namespace tidy {