diff --git a/src/reader/spirv/parser_impl_test_helper.h b/src/reader/spirv/parser_impl_test_helper.h index 18132efdfc..3be8566b18 100644 --- a/src/reader/spirv/parser_impl_test_helper.h +++ b/src/reader/spirv/parser_impl_test_helper.h @@ -34,7 +34,7 @@ template class SpvParserTestBase : public T { public: SpvParserTestBase() = default; - ~SpvParserTestBase() = default; + ~SpvParserTestBase() override = default; /// Sets up the test helper void SetUp() override { ctx_.Reset(); } diff --git a/src/reader/wgsl/parser_impl_builtin_decoration_test.cc b/src/reader/wgsl/parser_impl_builtin_decoration_test.cc index 7a4cb921f1..db959746c5 100644 --- a/src/reader/wgsl/parser_impl_builtin_decoration_test.cc +++ b/src/reader/wgsl/parser_impl_builtin_decoration_test.cc @@ -34,7 +34,7 @@ inline std::ostream& operator<<(std::ostream& out, BuiltinData data) { class BuiltinTest : public testing::TestWithParam { public: BuiltinTest() = default; - ~BuiltinTest() = default; + ~BuiltinTest() override = default; void SetUp() override { ctx_.Reset(); } diff --git a/src/reader/wgsl/parser_impl_derivative_modifier_test.cc b/src/reader/wgsl/parser_impl_derivative_modifier_test.cc index a559258f59..29b5785e0a 100644 --- a/src/reader/wgsl/parser_impl_derivative_modifier_test.cc +++ b/src/reader/wgsl/parser_impl_derivative_modifier_test.cc @@ -36,7 +36,7 @@ class DerivativeModifierTest : public testing::TestWithParam { public: DerivativeModifierTest() = default; - ~DerivativeModifierTest() = default; + ~DerivativeModifierTest() override = default; void SetUp() override { ctx_.Reset(); } diff --git a/src/reader/wgsl/parser_impl_pipeline_stage_test.cc b/src/reader/wgsl/parser_impl_pipeline_stage_test.cc index 19bac5cc5b..028f4c7ee3 100644 --- a/src/reader/wgsl/parser_impl_pipeline_stage_test.cc +++ b/src/reader/wgsl/parser_impl_pipeline_stage_test.cc @@ -34,7 +34,7 @@ inline std::ostream& operator<<(std::ostream& out, PipelineStageData data) { class PipelineStageTest : public testing::TestWithParam { public: PipelineStageTest() = default; - ~PipelineStageTest() = default; + ~PipelineStageTest() override = default; void SetUp() override { ctx_.Reset(); } diff --git a/src/reader/wgsl/parser_impl_storage_class_test.cc b/src/reader/wgsl/parser_impl_storage_class_test.cc index 8a827efde3..c2de306469 100644 --- a/src/reader/wgsl/parser_impl_storage_class_test.cc +++ b/src/reader/wgsl/parser_impl_storage_class_test.cc @@ -34,7 +34,7 @@ inline std::ostream& operator<<(std::ostream& out, StorageClassData data) { class StorageClassTest : public testing::TestWithParam { public: StorageClassTest() = default; - ~StorageClassTest() = default; + ~StorageClassTest() override = default; void SetUp() override { ctx_.Reset(); } diff --git a/src/reader/wgsl/parser_impl_struct_decoration_test.cc b/src/reader/wgsl/parser_impl_struct_decoration_test.cc index 518ac0bb73..8c5f27eb55 100644 --- a/src/reader/wgsl/parser_impl_struct_decoration_test.cc +++ b/src/reader/wgsl/parser_impl_struct_decoration_test.cc @@ -35,7 +35,7 @@ class StructDecorationTest : public testing::TestWithParam { public: StructDecorationTest() = default; - ~StructDecorationTest() = default; + ~StructDecorationTest() override = default; void SetUp() override { ctx_.Reset(); } diff --git a/src/reader/wgsl/parser_impl_type_decl_test.cc b/src/reader/wgsl/parser_impl_type_decl_test.cc index 8399b2b414..1d0834151e 100644 --- a/src/reader/wgsl/parser_impl_type_decl_test.cc +++ b/src/reader/wgsl/parser_impl_type_decl_test.cc @@ -123,7 +123,7 @@ inline std::ostream& operator<<(std::ostream& out, VecData data) { class VecTest : public testing::TestWithParam { 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 { 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 { 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 { 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 { 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 { 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 { 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 { 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 { 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 { public: MatrixMissingType() = default; - ~MatrixMissingType() = default; + ~MatrixMissingType() override = default; void SetUp() override { ctx_.Reset(); } diff --git a/src/reader/wgsl/parser_impl_variable_storage_decoration_test.cc b/src/reader/wgsl/parser_impl_variable_storage_decoration_test.cc index a15d211e18..112df1c0c6 100644 --- a/src/reader/wgsl/parser_impl_variable_storage_decoration_test.cc +++ b/src/reader/wgsl/parser_impl_variable_storage_decoration_test.cc @@ -34,7 +34,7 @@ inline std::ostream& operator<<(std::ostream& out, VariableStorageData data) { class VariableStorageTest : public testing::TestWithParam { public: VariableStorageTest() = default; - ~VariableStorageTest() = default; + ~VariableStorageTest() override = default; void SetUp() override { ctx_.Reset(); }