diff options
Diffstat (limited to 'clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/llvm/LLVMTidyModule.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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<LLVMModule> 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; |