This is a frontend bug, not an IRGen bug; the test case is ill-formed. "return;" can be used in a constructor or destructor, but "return <expression-with-type-void>;" cannot.
On Mon, Dec 2, 2013 at 4:09 PM, jahanian <[email protected]> wrote: > This patch fixes a crash when generating IRGen for armv7 which has ABI of > implicit return of 'this' for constructors. Please review. > // rdar://15366494 > - fariborz > > > > > _______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits > >
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
