return "struct";
}
+/* Disable warnings about missing quoting in GCC diagnostics for
+ the pp_verbatim call. Their format strings deliberately don't
+ follow GCC diagnostic conventions. */
+#if __GNUC__ >= 10
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wformat-diag"
+#endif
+
/* Print out a class declaration T under the control of FLAGS,
in the form `class foo'. */
flags & ~TFF_TEMPLATE_HEADER);
}
+#if __GNUC__ >= 10
+#pragma GCC diagnostic pop
+#endif
+
/* Dump into the obstack the initial part of the output for a given type.
This is necessary when dealing with things like functions returning
functions. Examples:
the pp_verbatim calls. Their format strings deliberately don't
follow GCC diagnostic conventions. */
#if __GNUC__ >= 10
-# pragma GCC diagnostic push
-# pragma GCC diagnostic ignored "-Wformat-diag"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wformat-diag"
#endif
/* Report the full context of a current template instantiation,
}
#if __GNUC__ >= 10
-# pragma GCC diagnostic pop
+#pragma GCC diagnostic pop
#endif
/* If we had %H and %I, and hence deferred printing them,