This is an archive of the discontinued LLVM Phabricator instance.

fixes copy constructor generation of classes containing 0-length arrays followed by exactly 1 trivial field (fixes #40682)
ClosedPublic

Authored by jbigalet on Feb 10 2019, 11:10 AM.

Details

Event Timeline

jbigalet created this revision.Feb 10 2019, 11:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 10 2019, 11:10 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

@lebedev.ri not a test, did I forgot to add anything? (sorry, it's my first time here)

jbigalet updated this revision to Diff 186162.Feb 10 2019, 12:39 PM

regression test

rjmccall accepted this revision.Feb 11 2019, 10:40 AM

Ah, thanks, seems like a reasonable fix.

This revision is now accepted and ready to land.Feb 11 2019, 10:40 AM

Thanks!
I don't have commit rights btw

rjmccall closed this revision.Apr 10 2019, 11:06 AM

Committed as r358115.