mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-07-07 13:45:51 +00:00
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:
parent
0a196c13c8
commit
340a51e787
@ -34,7 +34,7 @@ template <typename T>
|
|||||||
class SpvParserTestBase : public T {
|
class SpvParserTestBase : public T {
|
||||||
public:
|
public:
|
||||||
SpvParserTestBase() = default;
|
SpvParserTestBase() = default;
|
||||||
~SpvParserTestBase() = default;
|
~SpvParserTestBase() override = default;
|
||||||
|
|
||||||
/// Sets up the test helper
|
/// Sets up the test helper
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
@ -34,7 +34,7 @@ inline std::ostream& operator<<(std::ostream& out, BuiltinData data) {
|
|||||||
class BuiltinTest : public testing::TestWithParam<BuiltinData> {
|
class BuiltinTest : public testing::TestWithParam<BuiltinData> {
|
||||||
public:
|
public:
|
||||||
BuiltinTest() = default;
|
BuiltinTest() = default;
|
||||||
~BuiltinTest() = default;
|
~BuiltinTest() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ class DerivativeModifierTest
|
|||||||
: public testing::TestWithParam<DerivativeModifierData> {
|
: public testing::TestWithParam<DerivativeModifierData> {
|
||||||
public:
|
public:
|
||||||
DerivativeModifierTest() = default;
|
DerivativeModifierTest() = default;
|
||||||
~DerivativeModifierTest() = default;
|
~DerivativeModifierTest() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ inline std::ostream& operator<<(std::ostream& out, PipelineStageData data) {
|
|||||||
class PipelineStageTest : public testing::TestWithParam<PipelineStageData> {
|
class PipelineStageTest : public testing::TestWithParam<PipelineStageData> {
|
||||||
public:
|
public:
|
||||||
PipelineStageTest() = default;
|
PipelineStageTest() = default;
|
||||||
~PipelineStageTest() = default;
|
~PipelineStageTest() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ inline std::ostream& operator<<(std::ostream& out, StorageClassData data) {
|
|||||||
class StorageClassTest : public testing::TestWithParam<StorageClassData> {
|
class StorageClassTest : public testing::TestWithParam<StorageClassData> {
|
||||||
public:
|
public:
|
||||||
StorageClassTest() = default;
|
StorageClassTest() = default;
|
||||||
~StorageClassTest() = default;
|
~StorageClassTest() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ class StructDecorationTest
|
|||||||
: public testing::TestWithParam<StructDecorationData> {
|
: public testing::TestWithParam<StructDecorationData> {
|
||||||
public:
|
public:
|
||||||
StructDecorationTest() = default;
|
StructDecorationTest() = default;
|
||||||
~StructDecorationTest() = default;
|
~StructDecorationTest() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
|
@ -123,7 +123,7 @@ inline std::ostream& operator<<(std::ostream& out, VecData data) {
|
|||||||
class VecTest : public testing::TestWithParam<VecData> {
|
class VecTest : public testing::TestWithParam<VecData> {
|
||||||
public:
|
public:
|
||||||
VecTest() = default;
|
VecTest() = default;
|
||||||
~VecTest() = default;
|
~VecTest() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
@ -157,7 +157,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
|
|||||||
class VecMissingGreaterThanTest : public testing::TestWithParam<VecData> {
|
class VecMissingGreaterThanTest : public testing::TestWithParam<VecData> {
|
||||||
public:
|
public:
|
||||||
VecMissingGreaterThanTest() = default;
|
VecMissingGreaterThanTest() = default;
|
||||||
~VecMissingGreaterThanTest() = default;
|
~VecMissingGreaterThanTest() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
@ -190,7 +190,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
|
|||||||
class VecMissingLessThanTest : public testing::TestWithParam<VecData> {
|
class VecMissingLessThanTest : public testing::TestWithParam<VecData> {
|
||||||
public:
|
public:
|
||||||
VecMissingLessThanTest() = default;
|
VecMissingLessThanTest() = default;
|
||||||
~VecMissingLessThanTest() = default;
|
~VecMissingLessThanTest() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
@ -223,7 +223,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
|
|||||||
class VecBadType : public testing::TestWithParam<VecData> {
|
class VecBadType : public testing::TestWithParam<VecData> {
|
||||||
public:
|
public:
|
||||||
VecBadType() = default;
|
VecBadType() = default;
|
||||||
~VecBadType() = default;
|
~VecBadType() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
@ -256,7 +256,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
|
|||||||
class VecMissingType : public testing::TestWithParam<VecData> {
|
class VecMissingType : public testing::TestWithParam<VecData> {
|
||||||
public:
|
public:
|
||||||
VecMissingType() = default;
|
VecMissingType() = default;
|
||||||
~VecMissingType() = default;
|
~VecMissingType() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
@ -471,7 +471,7 @@ inline std::ostream& operator<<(std::ostream& out, MatrixData data) {
|
|||||||
class MatrixTest : public testing::TestWithParam<MatrixData> {
|
class MatrixTest : public testing::TestWithParam<MatrixData> {
|
||||||
public:
|
public:
|
||||||
MatrixTest() = default;
|
MatrixTest() = default;
|
||||||
~MatrixTest() = default;
|
~MatrixTest() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
@ -513,7 +513,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
|
|||||||
class MatrixMissingGreaterThanTest : public testing::TestWithParam<MatrixData> {
|
class MatrixMissingGreaterThanTest : public testing::TestWithParam<MatrixData> {
|
||||||
public:
|
public:
|
||||||
MatrixMissingGreaterThanTest() = default;
|
MatrixMissingGreaterThanTest() = default;
|
||||||
~MatrixMissingGreaterThanTest() = default;
|
~MatrixMissingGreaterThanTest() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
@ -551,7 +551,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
|
|||||||
class MatrixMissingLessThanTest : public testing::TestWithParam<MatrixData> {
|
class MatrixMissingLessThanTest : public testing::TestWithParam<MatrixData> {
|
||||||
public:
|
public:
|
||||||
MatrixMissingLessThanTest() = default;
|
MatrixMissingLessThanTest() = default;
|
||||||
~MatrixMissingLessThanTest() = default;
|
~MatrixMissingLessThanTest() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
@ -589,7 +589,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
|
|||||||
class MatrixBadType : public testing::TestWithParam<MatrixData> {
|
class MatrixBadType : public testing::TestWithParam<MatrixData> {
|
||||||
public:
|
public:
|
||||||
MatrixBadType() = default;
|
MatrixBadType() = default;
|
||||||
~MatrixBadType() = default;
|
~MatrixBadType() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
@ -627,7 +627,7 @@ INSTANTIATE_TEST_SUITE_P(ParserImplTest,
|
|||||||
class MatrixMissingType : public testing::TestWithParam<MatrixData> {
|
class MatrixMissingType : public testing::TestWithParam<MatrixData> {
|
||||||
public:
|
public:
|
||||||
MatrixMissingType() = default;
|
MatrixMissingType() = default;
|
||||||
~MatrixMissingType() = default;
|
~MatrixMissingType() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ inline std::ostream& operator<<(std::ostream& out, VariableStorageData data) {
|
|||||||
class VariableStorageTest : public testing::TestWithParam<VariableStorageData> {
|
class VariableStorageTest : public testing::TestWithParam<VariableStorageData> {
|
||||||
public:
|
public:
|
||||||
VariableStorageTest() = default;
|
VariableStorageTest() = default;
|
||||||
~VariableStorageTest() = default;
|
~VariableStorageTest() override = default;
|
||||||
|
|
||||||
void SetUp() override { ctx_.Reset(); }
|
void SetUp() override { ctx_.Reset(); }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user