Skip to content

Commit 8bfdc0b

Browse files
committed
[clang-tidy] Revert Implement type-based check for gsl::owner
This should unbreak the buildbot for visual studio 2015 for now. llvm-svn: 313059
1 parent 2176a9f commit 8bfdc0b

File tree

9 files changed

+0
-904
lines changed

9 files changed

+0
-904
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ add_clang_library(clangTidyCppCoreGuidelinesModule
44
CppCoreGuidelinesTidyModule.cpp
55
InterfacesGlobalInitCheck.cpp
66
NoMallocCheck.cpp
7-
OwningMemoryCheck.cpp
87
ProBoundsArrayToPointerDecayCheck.cpp
98
ProBoundsConstantArrayIndexCheck.cpp
109
ProBoundsPointerArithmeticCheck.cpp

clang-tools-extra/clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
#include "../misc/UnconventionalAssignOperatorCheck.h"
1414
#include "InterfacesGlobalInitCheck.h"
1515
#include "NoMallocCheck.h"
16-
#include "OwningMemoryCheck.h"
1716
#include "ProBoundsArrayToPointerDecayCheck.h"
1817
#include "ProBoundsConstantArrayIndexCheck.h"
1918
#include "ProBoundsPointerArithmeticCheck.h"
@@ -38,8 +37,6 @@ class CppCoreGuidelinesModule : public ClangTidyModule {
3837
CheckFactories.registerCheck<InterfacesGlobalInitCheck>(
3938
"cppcoreguidelines-interfaces-global-init");
4039
CheckFactories.registerCheck<NoMallocCheck>("cppcoreguidelines-no-malloc");
41-
CheckFactories.registerCheck<OwningMemoryCheck>(
42-
"cppcoreguidelines-owning-memory");
4340
CheckFactories.registerCheck<ProBoundsArrayToPointerDecayCheck>(
4441
"cppcoreguidelines-pro-bounds-array-to-pointer-decay");
4542
CheckFactories.registerCheck<ProBoundsConstantArrayIndexCheck>(

clang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.cpp

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

clang-tools-extra/clang-tidy/cppcoreguidelines/OwningMemoryCheck.h

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

clang-tools-extra/clang-tidy/utils/Matchers.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ namespace clang {
1717
namespace tidy {
1818
namespace matchers {
1919

20-
AST_MATCHER(BinaryOperator, isAssignmentOperator) {
21-
return Node.isAssignmentOp();
22-
}
23-
2420
AST_MATCHER(BinaryOperator, isRelationalOperator) {
2521
return Node.isRelationalOp();
2622
}

0 commit comments

Comments
 (0)