Add required overrides for virtual destructors

Fixes build on macOS

TBR=rharrison@google.com

Change-Id: I22e463b76074b499187a472649c46ef1b17c77cd
Reviewed-on: https://dawn-review.googlesource.com/c/tint/+/19880
Reviewed-by: David Neto <dneto@google.com>
This commit is contained in:
David Neto 2020-04-17 15:52:49 +00:00
parent 0a196c13c8
commit 340a51e787
8 changed files with 17 additions and 17 deletions

View File

@ -34,7 +34,7 @@ template <typename T>
class SpvParserTestBase : public T {
public:
SpvParserTestBase() = default;
~SpvParserTestBase() = default;
~SpvParserTestBase() override = default;
/// Sets up the test helper
void SetUp() override { ctx_.Reset(); }

View File

@ -34,7 +34,7 @@ inline std::ostream& operator<<(std::ostream& out, BuiltinData data) {
class BuiltinTest : public testing::TestWithParam<BuiltinData> {
public:
BuiltinTest() = default;
~BuiltinTest() = default;
~BuiltinTest() override = default;
void SetUp() override { ctx_.Reset(); }

View File

@ -36,7 +36,7 @@ class DerivativeModifierTest
: public testing::TestWithParam<DerivativeModifierData> {
public:
DerivativeModifierTest() = default;
~DerivativeModifierTest() = default;
~DerivativeModifierTest() override = default;
void SetUp() override { ctx_.Reset(); }

View File

@ -34,7 +34,7 @@ inline std::ostream& operator<<(std::ostream& out, PipelineStageData data) {
class PipelineStageTest : public testing::TestWithParam<PipelineStageData> {
public:
PipelineStageTest() = default;
~PipelineStageTest() = default;
~PipelineStageTest() override = default;
void SetUp() override { ctx_.Reset(); }

View File

@ -34,7 +34,7 @@ inline std::ostream& operator<<(std::ostream& out, StorageClassData data) {
class StorageClassTest : public testing::TestWithParam<StorageClassData> {
public:
StorageClassTest() = default;
~StorageClassTest() = default;
~StorageClassTest() override = default;
void SetUp() override { ctx_.Reset(); }

View File

@ -35,7 +35,7 @@ class StructDecorationTest
: public testing::TestWithParam<StructDecorationData> {
public:
StructDecorationTest() = default;
~StructDecorationTest() = default;
~StructDecorationTest() override = default;
void SetUp() override { ctx_.Reset(); }

View File

@ -123,7 +123,7 @@ inline std::ostream& operator<<(std::ostream& out, VecData data) {
class VecTest : public testing::TestWithParam<VecData> {
public:
VecTest() = default;
~VecTest() = default;
~VecTest() override = default;
void SetUp() override { ctx_.Reset(); }
@ -157,7 +157,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
class VecMissingGreaterThanTest : public testing::TestWithParam<VecData> {
public:
VecMissingGreaterThanTest() = default;
~VecMissingGreaterThanTest() = default;
~VecMissingGreaterThanTest() override = default;
void SetUp() override { ctx_.Reset(); }
@ -190,7 +190,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
class VecMissingLessThanTest : public testing::TestWithParam<VecData> {
public:
VecMissingLessThanTest() = default;
~VecMissingLessThanTest() = default;
~VecMissingLessThanTest() override = default;
void SetUp() override { ctx_.Reset(); }
@ -223,7 +223,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
class VecBadType : public testing::TestWithParam<VecData> {
public:
VecBadType() = default;
~VecBadType() = default;
~VecBadType() override = default;
void SetUp() override { ctx_.Reset(); }
@ -256,7 +256,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
class VecMissingType : public testing::TestWithParam<VecData> {
public:
VecMissingType() = default;
~VecMissingType() = default;
~VecMissingType() override = default;
void SetUp() override { ctx_.Reset(); }
@ -471,7 +471,7 @@ inline std::ostream& operator<<(std::ostream& out, MatrixData data) {
class MatrixTest : public testing::TestWithParam<MatrixData> {
public:
MatrixTest() = default;
~MatrixTest() = default;
~MatrixTest() override = default;
void SetUp() override { ctx_.Reset(); }
@ -513,7 +513,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
class MatrixMissingGreaterThanTest : public testing::TestWithParam<MatrixData> {
public:
MatrixMissingGreaterThanTest() = default;
~MatrixMissingGreaterThanTest() = default;
~MatrixMissingGreaterThanTest() override = default;
void SetUp() override { ctx_.Reset(); }
@ -551,7 +551,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
class MatrixMissingLessThanTest : public testing::TestWithParam<MatrixData> {
public:
MatrixMissingLessThanTest() = default;
~MatrixMissingLessThanTest() = default;
~MatrixMissingLessThanTest() override = default;
void SetUp() override { ctx_.Reset(); }
@ -589,7 +589,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
class MatrixBadType : public testing::TestWithParam<MatrixData> {
public:
MatrixBadType() = default;
~MatrixBadType() = default;
~MatrixBadType() override = default;
void SetUp() override { ctx_.Reset(); }
@ -627,7 +627,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
class MatrixMissingType : public testing::TestWithParam<MatrixData> {
public:
MatrixMissingType() = default;
~MatrixMissingType() = default;
~MatrixMissingType() override = default;
void SetUp() override { ctx_.Reset(); }

View File

@ -34,7 +34,7 @@ inline std::ostream& operator<<(std::ostream& out, VariableStorageData data) {
class VariableStorageTest : public testing::TestWithParam<VariableStorageData> {
public:
VariableStorageTest() = default;
~VariableStorageTest() = default;
~VariableStorageTest() override = default;
void SetUp() override { ctx_.Reset(); }