[patch][rfc] Emit DeferredDeclsToEmit in order
Rafael EspĂndola
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
first.
Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 33549 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150121/85e04d15/attachment.bin>
More information about the cfe-commits
mailing list