From 1b677dbd44edd045359fc62abb64eb703d88fee4 Mon Sep 17 00:00:00 2001 From: Alexander Kornienko Date: Mon, 9 Mar 2015 12:18:39 +0000 Subject: [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 --- .../clang-tidy/readability/ReadabilityTidyModule.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp') diff --git a/clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp b/clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp index a92f8a4313d..e868303c5ba 100644 --- a/clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp +++ b/clang-tools-extra/clang-tidy/readability/ReadabilityTidyModule.cpp @@ -11,10 +11,10 @@ #include "../ClangTidyModule.h" #include "../ClangTidyModuleRegistry.h" #include "BracesAroundStatementsCheck.h" -#include "ContainerSizeEmpty.h" +#include "ContainerSizeEmptyCheck.h" #include "ElseAfterReturnCheck.h" -#include "FunctionSize.h" -#include "RedundantSmartptrGet.h" +#include "FunctionSizeCheck.h" +#include "RedundantSmartptrGetCheck.h" #include "ShrinkToFitCheck.h" namespace clang { @@ -32,7 +32,7 @@ public: "readability-else-after-return"); CheckFactories.registerCheck( "readability-function-size"); - CheckFactories.registerCheck( + CheckFactories.registerCheck( "readability-redundant-smartptr-get"); CheckFactories.registerCheck( "readability-shrink-to-fit"); -- cgit v1.2.3