From f04907c2f652df1548da1d0da2cfc8fa1c1e0071 Mon Sep 17 00:00:00 2001 From: "Jordan Maples [MSFT]" <49793787+JordanMaples@users.noreply.github.com> Date: Wed, 8 Jan 2020 10:13:00 -0800 Subject: [PATCH] added suppression for missing destructor override --- tests/algorithm_tests.cpp | 1 + tests/assertion_tests.cpp | 1 + tests/at_tests.cpp | 1 + tests/bounds_tests.cpp | 1 + tests/byte_tests.cpp | 1 + tests/multi_span_tests.cpp | 1 + tests/notnull_tests.cpp | 1 + tests/owner_tests.cpp | 1 + tests/span_tests.cpp | 1 + tests/strict_notnull_tests.cpp | 1 + tests/strided_span_tests.cpp | 1 + tests/string_span_tests.cpp | 1 + tests/utils_tests.cpp | 1 + 13 files changed, 13 insertions(+) diff --git a/tests/algorithm_tests.cpp b/tests/algorithm_tests.cpp index c88a120..50bff11 100644 --- a/tests/algorithm_tests.cpp +++ b/tests/algorithm_tests.cpp @@ -30,6 +30,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__ #include diff --git a/tests/assertion_tests.cpp b/tests/assertion_tests.cpp index a42c209..598c7dc 100644 --- a/tests/assertion_tests.cpp +++ b/tests/assertion_tests.cpp @@ -30,6 +30,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__ #include diff --git a/tests/at_tests.cpp b/tests/at_tests.cpp index b43d06c..cbed5ba 100644 --- a/tests/at_tests.cpp +++ b/tests/at_tests.cpp @@ -30,6 +30,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__ #include diff --git a/tests/bounds_tests.cpp b/tests/bounds_tests.cpp index 629e5d1..4291ae1 100644 --- a/tests/bounds_tests.cpp +++ b/tests/bounds_tests.cpp @@ -33,6 +33,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__ #include diff --git a/tests/byte_tests.cpp b/tests/byte_tests.cpp index bf22556..ab243a7 100644 --- a/tests/byte_tests.cpp +++ b/tests/byte_tests.cpp @@ -30,6 +30,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__ #include diff --git a/tests/multi_span_tests.cpp b/tests/multi_span_tests.cpp index 891bee3..f2e040f 100644 --- a/tests/multi_span_tests.cpp +++ b/tests/multi_span_tests.cpp @@ -34,6 +34,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__ #include diff --git a/tests/notnull_tests.cpp b/tests/notnull_tests.cpp index d9e0709..038119e 100644 --- a/tests/notnull_tests.cpp +++ b/tests/notnull_tests.cpp @@ -33,6 +33,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__ #include diff --git a/tests/owner_tests.cpp b/tests/owner_tests.cpp index 6442033..8756596 100644 --- a/tests/owner_tests.cpp +++ b/tests/owner_tests.cpp @@ -31,6 +31,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__ #include diff --git a/tests/span_tests.cpp b/tests/span_tests.cpp index f619d48..edbd118 100644 --- a/tests/span_tests.cpp +++ b/tests/span_tests.cpp @@ -32,6 +32,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__ #include diff --git a/tests/strict_notnull_tests.cpp b/tests/strict_notnull_tests.cpp index a8d438a..3c971db 100644 --- a/tests/strict_notnull_tests.cpp +++ b/tests/strict_notnull_tests.cpp @@ -33,6 +33,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__ #include diff --git a/tests/strided_span_tests.cpp b/tests/strided_span_tests.cpp index 20f14ad..f5f3704 100644 --- a/tests/strided_span_tests.cpp +++ b/tests/strided_span_tests.cpp @@ -33,6 +33,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__ #include diff --git a/tests/string_span_tests.cpp b/tests/string_span_tests.cpp index b9cfdcc..24bf140 100644 --- a/tests/string_span_tests.cpp +++ b/tests/string_span_tests.cpp @@ -31,6 +31,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__ #include diff --git a/tests/utils_tests.cpp b/tests/utils_tests.cpp index d779384..db6e8c5 100644 --- a/tests/utils_tests.cpp +++ b/tests/utils_tests.cpp @@ -31,6 +31,7 @@ #pragma GCC diagnostic ignored "-Wglobal-constructors" #pragma GCC diagnostic ignored "-Wused-but-marked-unused" #pragma GCC diagnostic ignored "-Wcovered-switch-default" +#pragma GCC diagnostic ignored "-Winconsistent-missing-destructor-override" #endif // __clang__