[PATCH] D63122: [llvm-strip] Error when using stdin twice
Alex Brachet via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 17 11:24:54 PDT 2019
abrachet marked an inline comment as done.
abrachet added inline comments.
================
Comment at: llvm/tools/llvm-objcopy/llvm-objcopy.cpp:85
+ErrorSuccess reportWarning(Error E) {
+ assert(E);
----------------
rupprecht wrote:
> This doesn't need to have a return value, it should be void.
This was per @jhenderson’s suggestion, it lets the callback decide wether to continue parsing or not. Of course this one doesn’t do that right now, but allows for it in the future. I don’t have strong feelings either way.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63122/new/
https://reviews.llvm.org/D63122
More information about the llvm-commits
mailing list