From 0a6ce9f4e1429b001b6fb5feabc60d23cc0e5ef8 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Mon, 2 Mar 2015 12:39:18 +0000 Subject: [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 --- clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp') diff --git a/clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp b/clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp index c9c71842460..ea46ca93841 100644 --- a/clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp +++ b/clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp @@ -17,6 +17,7 @@ namespace clang { namespace tidy { +namespace llvm { class LLVMModule : public ClangTidyModule { public: @@ -33,6 +34,8 @@ public: static ClangTidyModuleRegistry::Add X("llvm-module", "Adds LLVM lint checks."); +} // namespace llvm + // This anchor is used to force the linker to link in the generated object file // and thus register the LLVMModule. volatile int LLVMModuleAnchorSource = 0; -- cgit v1.2.3