summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2015-03-02 12:39:18 +0000
committerAlexander Kornienko <alexfh@google.com>2015-03-02 12:39:18 +0000
commit0a6ce9f4e1429b001b6fb5feabc60d23cc0e5ef8 (patch)
tree88cef75f59cc1d10ab1cf9c88d1783b48d1cfd79 /clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp
parent6992d5dcc56838ed5af0b53e6ee89948ef5c33c0 (diff)
downloadbcm5719-llvm-0a6ce9f4e1429b001b6fb5feabc60d23cc0e5ef8.tar.gz
bcm5719-llvm-0a6ce9f4e1429b001b6fb5feabc60d23cc0e5ef8.zip
[clang-tidy] Refactor: Move llvm clang-tidy checks to namespace clang::tidy::llvm
clang-tidy checks are organized into modules. This refactoring moves the llvm module checks to clang::tidy::llvm http://reviews.llvm.org/D7995 Patch by Richard Thomson! llvm-svn: 230952
Diffstat (limited to 'clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp')
-rw-r--r--clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp b/clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp
index 986c338ac22..0d9c5ecd248 100644
--- a/clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp
+++ b/clang-tools-extra/clang-tidy/llvm/TwineLocalCheck.cpp
@@ -16,6 +16,7 @@ using namespace clang::ast_matchers;
namespace clang {
namespace tidy {
+namespace llvm {
void TwineLocalCheck::registerMatchers(MatchFinder *Finder) {
auto TwineType =
@@ -57,5 +58,6 @@ void TwineLocalCheck::check(const MatchFinder::MatchResult &Result) {
}
}
+} // namespace llvm
} // namespace tidy
} // namespace clang
OpenPOWER on IntegriCloud