From e3b27e666121e88e97a294bb2f3b226484e6eac8 Mon Sep 17 00:00:00 2001 From: Nico Weber Date: Thu, 21 Feb 2019 14:39:01 +0000 Subject: [PATCH] dawn: Remove semicolons. A cleanup needed for turning on -Wextra-semi in Chromium builds. Bug: chromium:926235 Change-Id: I3d2b517ad21dfae9e7dc06613a7fe3e98d783b2a Reviewed-on: https://dawn-review.googlesource.com/c/4841 Commit-Queue: Corentin Wallez Reviewed-by: Corentin Wallez --- src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp | 2 +- src/tests/end2end/BindGroupTests.cpp | 2 +- src/tests/unittests/validation/ValidationTest.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp b/src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp index f367133cd0..6bfe180d42 100644 --- a/src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp +++ b/src/fuzzers/DawnWireServerAndFrontendFuzzer.cpp @@ -29,7 +29,7 @@ class DevNull : public dawn_wire::CommandSerializer { } bool Flush() override { return true; - }; + } private: std::vector buf; diff --git a/src/tests/end2end/BindGroupTests.cpp b/src/tests/end2end/BindGroupTests.cpp index c11b3db7f1..68781b8dd2 100644 --- a/src/tests/end2end/BindGroupTests.cpp +++ b/src/tests/end2end/BindGroupTests.cpp @@ -467,4 +467,4 @@ TEST_P(BindGroupTests, DrawTwiceInSamePipelineWithFourBindGroupSets) EXPECT_PIXEL_RGBA8_EQ(notFilled, renderPass.color, max, max); } -DAWN_INSTANTIATE_TEST(BindGroupTests, D3D12Backend, MetalBackend, OpenGLBackend, VulkanBackend); +DAWN_INSTANTIATE_TEST(BindGroupTests, D3D12Backend, MetalBackend, OpenGLBackend, VulkanBackend) diff --git a/src/tests/unittests/validation/ValidationTest.h b/src/tests/unittests/validation/ValidationTest.h index 1e16baf6c6..3138f6a452 100644 --- a/src/tests/unittests/validation/ValidationTest.h +++ b/src/tests/unittests/validation/ValidationTest.h @@ -21,7 +21,7 @@ namespace dawn_native { class Instance; -}; +} #define ASSERT_DEVICE_ERROR(statement) \ StartExpectDeviceError(); \