[PATCH] D43403: Refactor wasm/WriterUtil.{cpp,h}.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 16 12:21:58 PST 2018
ruiu created this revision.
ruiu added a reviewer: sbc100.
Herald added subscribers: sunfish, aheejin, jfb.
- Makes code more in line with LLVM style (e.g. const char * -> StringRef)
- Do not use formatv since we can construct message just by `+`
- Replace some odd types such as `const StringRef` with more common type
- Do not use default arguments if they are not necessary
https://reviews.llvm.org/D43403
Files:
lld/wasm/OutputSections.cpp
lld/wasm/OutputSections.h
lld/wasm/WriterUtils.cpp
lld/wasm/WriterUtils.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43403.134682.patch
Type: text/x-patch
Size: 6313 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180216/29bd8ac5/attachment.bin>
More information about the llvm-commits
mailing list