[PATCH] D20550: Linker: error_code'ify the IR mover. NFC.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Thu May 26 19:01:59 PDT 2016
lhames added a comment.
I've added StringError in r270948 (+r270950) with an extra argument to provide the error_code conversion.
You can replace uses in this patch with:
make_error<StringError>(<msg>, inconvertibleErrorCode());
It's a bit more verbose, but I want to make sure people explicitly opt in to inconvertibility. In your case you can probably just wrap it with a:
Error stringErr(const Twine &T);
convenience function.
http://reviews.llvm.org/D20550
More information about the llvm-commits
mailing list