diff options
author | Alexander Kornienko <alexfh@google.com> | 2018-02-28 23:47:15 +0000 |
---|---|---|
committer | Alexander Kornienko <alexfh@google.com> | 2018-02-28 23:47:15 +0000 |
commit | 41af46a883cea6b9fc09930caa6d350298fe3fcd (patch) | |
tree | 81b5fca5036d6032b5fb0b346bb88cc97108d14b /clang-tidy/hicpp | |
parent | 2f873bc9c0ea4804c3efc64144e1a24e2720647e (diff) |
[clang-tidy] Another batch of checks to rename from misc- to bugprone-.
Summary:
clang-tidy/rename_check.py {misc,bugprone}-suspicious-semicolon
clang-tidy/rename_check.py {misc,bugprone}-suspicious-string-compare
clang-tidy/rename_check.py {misc,bugprone}-swapped-arguments
clang-tidy/rename_check.py {misc,bugprone}-undelegated-constructor --check_class_name UndelegatedConstructor
Reviewers: hokein, sammccall, aaron.ballman
Subscribers: klimek, mgorny, xazax.hun, cfe-commits
Differential Revision: https://reviews.llvm.org/D43870
git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@326386 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'clang-tidy/hicpp')
-rw-r--r-- | clang-tidy/hicpp/HICPPTidyModule.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang-tidy/hicpp/HICPPTidyModule.cpp b/clang-tidy/hicpp/HICPPTidyModule.cpp index 89a1adaf..d8e9a209 100644 --- a/clang-tidy/hicpp/HICPPTidyModule.cpp +++ b/clang-tidy/hicpp/HICPPTidyModule.cpp @@ -21,7 +21,7 @@ #include "../google/ExplicitConstructorCheck.h" #include "../misc/NewDeleteOverloadsCheck.h" #include "../misc/StaticAssertCheck.h" -#include "../misc/UndelegatedConstructor.h" +#include "../bugprone/UndelegatedConstructorCheck.h" #include "../modernize/DeprecatedHeadersCheck.h" #include "../modernize/UseAutoCheck.h" #include "../modernize/UseEmplaceCheck.h" @@ -83,7 +83,7 @@ public: CheckFactories.registerCheck<misc::StaticAssertCheck>( "hicpp-static-assert"); CheckFactories.registerCheck<modernize::UseAutoCheck>("hicpp-use-auto"); - CheckFactories.registerCheck<misc::UndelegatedConstructorCheck>( + CheckFactories.registerCheck<bugprone::UndelegatedConstructorCheck>( "hicpp-undelegated-constructor"); CheckFactories.registerCheck<modernize::UseEmplaceCheck>( "hicpp-use-emplace"); |