[PATCH] D16864: ELF: Make Out<ELFT> initialization less error-prone.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 3 12:24:20 PST 2016

ruiu created this revision.
ruiu added a reviewer: silvas.
ruiu added a subscriber: llvm-commits.

Previously, it was easy to leave some Out<ELFT> fields uninitialized
because assignments to the fields are mixed with output section
instantiations. In this patch, I separate initializations from assignments
to improve readability.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16864.46817.patch
Type: text/x-patch
Size: 4600 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160203/9dc894d9/attachment.bin>

More information about the llvm-commits mailing list