diff options
author | Don Hinton <hintonda@gmail.com> | 2019-05-10 18:27:09 +0000 |
---|---|---|
committer | Don Hinton <hintonda@gmail.com> | 2019-05-10 18:27:09 +0000 |
commit | b75e7eae17a56a42f6e23f0f11d331ef260a51fe (patch) | |
tree | 900f5fe6e70dff7769be881e9a5a6c53c9b9d22f /clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp | |
parent | 0c55985bbb407633eedde126a296438696866780 (diff) | |
download | bcm5719-llvm-b75e7eae17a56a42f6e23f0f11d331ef260a51fe.tar.gz bcm5719-llvm-b75e7eae17a56a42f6e23f0f11d331ef260a51fe.zip |
[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/clang-tidy/llvm/TwineLocalCheck.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp b/clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp index 2fddf6d277d..63a9314a49e 100644 --- a/clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp +++ b/clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp @@ -15,7 +15,7 @@ using namespace clang::ast_matchers; namespace clang { namespace tidy { -namespace llvm { +namespace llvm_check { void TwineLocalCheck::registerMatchers(MatchFinder *Finder) { auto TwineType = @@ -60,6 +60,6 @@ void TwineLocalCheck::check(const MatchFinder::MatchResult &Result) { } } -} // namespace llvm +} // namespace llvm_check } // namespace tidy } // namespace clang |