[patch][rfc] Emit DeferredDeclsToEmit in order
rafael.espindola at gmail.com
Wed Jan 21 09:43:28 PST 2015
Currently we emit DeferredDeclsToEmit in reverse order. The attached
patch changes that.
The advantages of the change are that
* The output order is a bit closer to the source order. The change to
test/CodeGenCXX/pod-member-memcpys.cpp is a good example.
* If we decide to deffer more, it will not cause as large changes in
the testcases as it would without this patch.
Note that the patch is incomplete. I have to finish updating the
tests, but I wanted to check first if other think this is a good idea
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 33549 bytes
Desc: not available
More information about the cfe-commits