emitter: Ignore Wmissing-braces warnings on clang.

This commit is contained in:
lightningterror 2023-01-29 18:22:42 +01:00
parent f1e80c466d
commit 8e6c18d3f4
1 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,12 @@
#include "common/emitter/internal.h"
#include "common/emitter/tools.h"
// warning: suggest braces around initialization of subobject [-Wmissing-braces]
#ifdef __clang__
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wmissing-braces"
#endif
namespace x86Emitter
{
const xImplAVX_Move xVMOVAPS = {0x00, 0x28, 0x29};