summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--filter/decl.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/filter/decl.m4 b/filter/decl.m4
index 57bf9454..ea0b0995 100644
--- a/filter/decl.m4
+++ b/filter/decl.m4
@@ -621,10 +621,19 @@ FID_WR_PUT(11)
#pragma GCC diagnostic ignored "-Woverride-init"
#endif
+#if defined(__clang__)
+#pragma clang diagnostic push
+#pragma clang diagnostic ignored "-Winitializer-overrides"
+#endif
+
static struct sym_scope f_type_method_scopes[] = {
FID_WR_PUT(12)
};
+#if defined(__clang__)
+#pragma clang diagnostic pop
+#endif
+
#if defined(__GNUC__) && __GNUC__ >= 6
#pragma GCC diagnostic pop
#endif