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 <thomasanderson@google.com>
Kokoro: Kokoro <noreply+kokoro@google.com>
Reviewed-by: Brandon Jones <bajones@chromium.org>
Commit-Queue: Brandon Jones <bajones@chromium.org>
This commit is contained in:
Tom Anderson 2022-08-24 00:03:35 +00:00 committed by Dawn LUCI CQ
parent 3335875f2d
commit a85290b909
2 changed files with 2 additions and 2 deletions

View File

@ -184,7 +184,7 @@ class CacheRequestImpl {
static constexpr char kName[] = #Request; \ static constexpr char kName[] = #Request; \
Request() = default; \ Request() = default; \
DAWN_VISITABLE_MEMBERS(MEMBERS) \ DAWN_VISITABLE_MEMBERS(MEMBERS) \
}; }
// Helper macro for the common pattern of DAWN_TRY_ASSIGN around LoadOrRun. // Helper macro for the common pattern of DAWN_TRY_ASSIGN around LoadOrRun.
// Requires an #include of dawn/native/Error.h // Requires an #include of dawn/native/Error.h

View File

@ -67,7 +67,7 @@ struct Foo {
X(CacheKey::UnsafeUnkeyedValue<int*>, d) \ X(CacheKey::UnsafeUnkeyedValue<int*>, d) \
X(CacheKey::UnsafeUnkeyedValue<Foo>, e) X(CacheKey::UnsafeUnkeyedValue<Foo>, e)
DAWN_MAKE_CACHE_REQUEST(CacheRequestForTesting, REQUEST_MEMBERS) DAWN_MAKE_CACHE_REQUEST(CacheRequestForTesting, REQUEST_MEMBERS);
#undef REQUEST_MEMBERS #undef REQUEST_MEMBERS