Suppress protobuf error.

Add a pragma to suppress an error from the protobuf library.

Change-Id: Id31db49ddd100d7a0e6fd19dc6119430f94921bf
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/218134
Auto-Submit: dan sinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
diff --git a/src/tint/utils/macros/compiler.h b/src/tint/utils/macros/compiler.h
index 15ecd6d..d7fe5b1 100644
--- a/src/tint/utils/macros/compiler.h
+++ b/src/tint/utils/macros/compiler.h
@@ -51,6 +51,7 @@
 #define TINT_DISABLE_WARNING_RESERVED_MACRO_IDENTIFIER   /* currently no-op */
 #define TINT_DISABLE_WARNING_SHADOW_FIELD_IN_CONSTRUCTOR /* currently no-op */
 #define TINT_DISABLE_WARNING_SIGN_CONVERSION             /* currently no-op */
+#define TINT_DISABLE_WARNING_UNDEFINED_REINTERPRET_CAST  /* currently no-op */
 #define TINT_DISABLE_WARNING_UNREACHABLE_CODE __pragma(warning(disable : 4702))
 #define TINT_DISABLE_WARNING_UNUSED_PARAMETER __pragma(warning(disable : 4100))
 #define TINT_DISABLE_WARNING_UNUSED_VALUE    /* currently no-op */
@@ -71,11 +72,15 @@
 #define TINT_END_DISABLE_WARNING(name)       \
     __pragma(warning(pop))                   \
     TINT_REQUIRE_SEMICOLON
-// clang-format on
 
-#define TINT_BEGIN_DISABLE_PROTOBUF_WARNINGS() \
-    __pragma(warning(push)) TINT_DISABLE_WARNING_UNUSED_PARAMETER TINT_REQUIRE_SEMICOLON
-#define TINT_END_DISABLE_PROTOBUF_WARNINGS() __pragma(warning(pop)) TINT_REQUIRE_SEMICOLON
+#define TINT_BEGIN_DISABLE_PROTOBUF_WARNINGS()      \
+    __pragma(warning(push))                         \
+    TINT_DISABLE_WARNING_UNUSED_PARAMETER           \
+    TINT_REQUIRE_SEMICOLON
+#define TINT_END_DISABLE_PROTOBUF_WARNINGS() \
+    __pragma(warning(pop))                   \
+    TINT_REQUIRE_SEMICOLON
+// clang-format on
 
 #if defined(__SANITIZE_ADDRESS__)
 #define TINT_ASAN_ENABLED
@@ -108,6 +113,8 @@
     _Pragma("clang diagnostic ignored \"-Wshadow-field-in-constructor\"")
 #define TINT_DISABLE_WARNING_SIGN_CONVERSION \
     _Pragma("clang diagnostic ignored \"-Wsign-conversion\"")
+#define TINT_DISABLE_WARNING_UNDEFINED_REINTERPRET_CAST \
+    _Pragma("clang diagnostic ignored \"-Wundefined-reinterpret-cast\"")
 #define TINT_DISABLE_WARNING_UNREACHABLE_CODE /* currently no-op */
 #define TINT_DISABLE_WARNING_UNUSED_PARAMETER \
     _Pragma("clang diagnostic ignored \"-Wunused-parameter\"")
@@ -126,6 +133,7 @@
     TINT_DISABLE_WARNING_RESERVED_MACRO_IDENTIFIER    \
     TINT_DISABLE_WARNING_SHADOW_FIELD_IN_CONSTRUCTOR  \
     TINT_DISABLE_WARNING_SIGN_CONVERSION              \
+    TINT_DISABLE_WARNING_UNDEFINED_REINTERPRET_CAST   \
     TINT_DISABLE_WARNING_UNUSED_PARAMETER             \
     TINT_DISABLE_WARNING_WEAK_VTABLES                 \
     TINT_DISABLE_WARNING_ZERO_AS_NULLPTR              \
@@ -180,6 +188,7 @@
 #define TINT_DISABLE_WARNING_RESERVED_MACRO_IDENTIFIER   /* currently no-op */
 #define TINT_DISABLE_WARNING_SHADOW_FIELD_IN_CONSTRUCTOR /* currently no-op */
 #define TINT_DISABLE_WARNING_SIGN_CONVERSION             /* currently no-op */
+#define TINT_DISABLE_WARNING_UNDEFINED_REINTERPRET_CAST  /* currently no-op */
 #define TINT_DISABLE_WARNING_UNREACHABLE_CODE            /* currently no-op */
 #define TINT_DISABLE_WARNING_UNUSED_PARAMETER \
     _Pragma("GCC diagnostic ignored \"-Wunused-parameter\"")