Page MenuHomePhabricator

[Sema] Put existing warning under -Wexcess-initializers
ClosedPublic

Authored by rsandifo-arm on May 1 2020, 9:33 AM.

Details

Summary

I have a follow-on patch that uses an alternative wording for
this warning in some cases. This patch puts it under its own
-W option in order to avoid a regression in Misc/warning-flags.c.

Diff Detail

Event Timeline

rsandifo-arm created this revision.May 1 2020, 9:33 AM
Herald added a project: Restricted Project. · View Herald TranscriptMay 1 2020, 9:33 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Should we stick ext_excess_initializers_in_char_array_initializer and ext_initializer_string_for_char_array_too_long in the same warning group?

Put two other related warnings under the new option

Should we stick ext_excess_initializers_in_char_array_initializer and ext_initializer_string_for_char_array_too_long in the same warning group?

Yeah, agree that would be better. Done in v2.

This revision is now accepted and ready to land.May 5 2020, 12:33 PM
This revision was automatically updated to reflect the committed changes.