diff --git a/src/dawn/common/BUILD.gn b/src/dawn/common/BUILD.gn index ef8400cbff..f46d108747 100644 --- a/src/dawn/common/BUILD.gn +++ b/src/dawn/common/BUILD.gn @@ -115,6 +115,7 @@ config("internal_config") { "-Wdeprecated-copy", "-Wdeprecated-copy-dtor", "-Wduplicate-enum", + "-Wextra-semi", "-Wextra-semi-stmt", "-Wimplicit-fallthrough", "-Winconsistent-missing-destructor-override", diff --git a/src/dawn/native/metal/BackendMTL.mm b/src/dawn/native/metal/BackendMTL.mm index fdd27bf223..acba1a935c 100644 --- a/src/dawn/native/metal/BackendMTL.mm +++ b/src/dawn/native/metal/BackendMTL.mm @@ -406,7 +406,7 @@ class Adapter : public AdapterBase { if (mDeviceId != 0) { mArchitectureName = gpu_info::GetArchitectureName(mVendorId, mDeviceId); } - }; + } enum class MTLGPUFamily { Apple1,