Skip to content

Commit f03f1fe

Browse files
committed
[clang-tidy] revert hicpp-multiway-paths-covered
The address sanitizer found a stackoverflow with this patch. There is no obvious fix. This patch will be reapplied when the problem is found. llvm-svn: 318670
1 parent 5c086c7 commit f03f1fe

File tree

9 files changed

+0
-859
lines changed

9 files changed

+0
-859
lines changed

clang-tools-extra/clang-tidy/hicpp/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ set(LLVM_LINK_COMPONENTS support)
22

33
add_clang_library(clangTidyHICPPModule
44
ExceptionBaseclassCheck.cpp
5-
MultiwayPathsCoveredCheck.cpp
65
NoAssemblerCheck.cpp
76
HICPPTidyModule.cpp
87
SignedBitwiseCheck.cpp

clang-tools-extra/clang-tidy/hicpp/HICPPTidyModule.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@
3535
#include "../readability/FunctionSizeCheck.h"
3636
#include "../readability/IdentifierNamingCheck.h"
3737
#include "ExceptionBaseclassCheck.h"
38-
#include "MultiwayPathsCoveredCheck.h"
3938
#include "NoAssemblerCheck.h"
4039
#include "SignedBitwiseCheck.h"
4140

@@ -54,8 +53,6 @@ class HICPPModule : public ClangTidyModule {
5453
"hicpp-exception-baseclass");
5554
CheckFactories.registerCheck<SignedBitwiseCheck>(
5655
"hicpp-signed-bitwise");
57-
CheckFactories.registerCheck<MultiwayPathsCoveredCheck>(
58-
"hicpp-multiway-paths-covered");
5956
CheckFactories.registerCheck<google::ExplicitConstructorCheck>(
6057
"hicpp-explicit-conversions");
6158
CheckFactories.registerCheck<readability::FunctionSizeCheck>(

clang-tools-extra/clang-tidy/hicpp/MultiwayPathsCoveredCheck.cpp

Lines changed: 0 additions & 179 deletions
This file was deleted.

clang-tools-extra/clang-tidy/hicpp/MultiwayPathsCoveredCheck.h

Lines changed: 0 additions & 51 deletions
This file was deleted.

clang-tools-extra/docs/ReleaseNotes.rst

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,11 +158,6 @@ Improvements to clang-tidy
158158
Ensures that all exception will be instances of ``std::exception`` and classes
159159
that are derived from it.
160160

161-
- New `hicpp-multiway-paths-covered
162-
<http://clang.llvm.org/extra/clang-tidy/checks/hicpp-multiway-paths-covered.html>`_ check
163-
164-
Checks on ``switch`` and ``if`` - ``else if`` constructs that do not cover all possible code paths.
165-
166161
- New `hicpp-signed-bitwise
167162
<http://clang.llvm.org/extra/clang-tidy/checks/hicpp-signed-bitwise.html>`_ check
168163

clang-tools-extra/docs/clang-tidy/checks/hicpp-multiway-paths-covered.rst

Lines changed: 0 additions & 95 deletions
This file was deleted.

clang-tools-extra/docs/clang-tidy/checks/list.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ Clang-Tidy Checks
8181
hicpp-invalid-access-moved (redirects to misc-use-after-move) <hicpp-invalid-access-moved>
8282
hicpp-member-init (redirects to cppcoreguidelines-pro-type-member-init) <hicpp-member-init>
8383
hicpp-move-const-arg (redirects to misc-move-const-arg) <hicpp-move-const-arg>
84-
hicpp-multiway-paths-covered
8584
hicpp-named-parameter (redirects to readability-named-parameter) <hicpp-named-parameter>
8685
hicpp-new-delete-operators (redirects to misc-new-delete-overloads) <hicpp-new-delete-operators>
8786
hicpp-no-array-decay (redirects to cppcoreguidelines-pro-bounds-array-to-pointer-decay) <hicpp-no-array-decay>

0 commit comments

Comments
 (0)