diff options
author | Alexander Kornienko <alexfh@google.com> | 2015-03-09 12:18:39 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2015-03-09 12:18:39 +0000 |
commit | 1b677dbd44edd045359fc62abb64eb703d88fee4 (patch) | |
tree | 217bf5f633c88671d60240cd7e348b572be321ea /clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp | |
parent | 1d2c052e9f09144cc1a837e135cbf1982d6b4b9f (diff) | |
download | bcm5719-llvm-1b677dbd44edd045359fc62abb64eb703d88fee4.tar.gz bcm5719-llvm-1b677dbd44edd045359fc62abb64eb703d88fee4.zip |
[clang-tidy] Refactor: Rename clang-tidy readability check files and classes to follow naming conventions
Classes are named WhateverCheck, files are WhateverCheck.cpp and`
WhateverCheck.h`
http://reviews.llvm.org/D8144
Patch by Richard Thomson!
llvm-svn: 231650
Diffstat (limited to 'clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp')
-rw-r--r-- | clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp b/clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp index c7a5c105090..6757f755c84 100644 --- a/clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp +++ b/clang-tools-extra/clang-tidy/google/GoogleTidyModule.cpp @@ -11,9 +11,9 @@ #include "../ClangTidyModule.h" #include "../ClangTidyModuleRegistry.h" #include "../readability/BracesAroundStatementsCheck.h" -#include "../readability/FunctionSize.h" +#include "../readability/FunctionSizeCheck.h" #include "../readability/NamespaceCommentCheck.h" -#include "../readability/RedundantSmartptrGet.h" +#include "../readability/RedundantSmartptrGetCheck.h" #include "AvoidCStyleCastsCheck.h" #include "ExplicitConstructorCheck.h" #include "ExplicitMakePairCheck.h" @@ -69,7 +69,7 @@ public: .registerCheck<clang::tidy::readability::NamespaceCommentCheck>( "google-readability-namespace-comments"); CheckFactories - .registerCheck<clang::tidy::readability::RedundantSmartptrGet>( + .registerCheck<clang::tidy::readability::RedundantSmartptrGetCheck>( "google-readability-redundant-smartptr-get"); } |