+2020-03-04 Martin Liska <mliska@suse.cz>
+
+ * method.c: Wrap array in ctor with braces in order
+ to silent clang warnings.
+
2020-03-03 Jason Merrill <jason@redhat.com>
Marek Polacek <polacek@redhat.com>
};
static const comp_cat_info_t comp_cat_info[cc_last]
= {
- { "partial_ordering", "equivalent", "greater", "less", "unordered" },
- { "weak_ordering", "equivalent", "greater", "less" },
- { "strong_ordering", "equal", "greater", "less" }
+ { "partial_ordering", { "equivalent", "greater", "less", "unordered" } },
+ { "weak_ordering", { "equivalent", "greater", "less" } },
+ { "strong_ordering", { "equal", "greater", "less" } }
};
/* A cache of the category types to speed repeated lookups. */