From a85290b909107e2b8ba16d15973b5992a8620088 Mon Sep 17 00:00:00 2001 From: Tom Anderson Date: Wed, 24 Aug 2022 00:03:35 +0000 Subject: [PATCH] Fix build with -Wextra-semi Change-Id: I48b8ca89dfe90e138fb6d9c00a69353a05f19cd2 Bug: chromium:1355871 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/100241 Auto-Submit: Tom Anderson Kokoro: Kokoro Reviewed-by: Brandon Jones Commit-Queue: Brandon Jones --- src/dawn/native/CacheRequest.h | 2 +- src/dawn/tests/unittests/native/CacheRequestTests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dawn/native/CacheRequest.h b/src/dawn/native/CacheRequest.h index 2999449b7d..cdaa117494 100644 --- a/src/dawn/native/CacheRequest.h +++ b/src/dawn/native/CacheRequest.h @@ -184,7 +184,7 @@ class CacheRequestImpl { static constexpr char kName[] = #Request; \ Request() = default; \ DAWN_VISITABLE_MEMBERS(MEMBERS) \ - }; + } // Helper macro for the common pattern of DAWN_TRY_ASSIGN around LoadOrRun. // Requires an #include of dawn/native/Error.h diff --git a/src/dawn/tests/unittests/native/CacheRequestTests.cpp b/src/dawn/tests/unittests/native/CacheRequestTests.cpp index 4a3e717217..df575e8b25 100644 --- a/src/dawn/tests/unittests/native/CacheRequestTests.cpp +++ b/src/dawn/tests/unittests/native/CacheRequestTests.cpp @@ -67,7 +67,7 @@ struct Foo { X(CacheKey::UnsafeUnkeyedValue, d) \ X(CacheKey::UnsafeUnkeyedValue, e) -DAWN_MAKE_CACHE_REQUEST(CacheRequestForTesting, REQUEST_MEMBERS) +DAWN_MAKE_CACHE_REQUEST(CacheRequestForTesting, REQUEST_MEMBERS); #undef REQUEST_MEMBERS