This is an archive of the discontinued LLVM Phabricator instance.

Add an example showing the alternative to nested designators
Needs ReviewPublic

Authored by shafik on Oct 9 2019, 12:38 PM.

Details

Reviewers
rsmith
Summary

We have an example showing that a nested designators are a c99 extension but not an example showing how to achieve the same thing using a brace-init-list in a designated-initializer-clause.

Diff Detail

Event Timeline

shafik created this revision.Oct 9 2019, 12:38 PM