<div dir="ltr">You're right. Thanks for catching that Rafael!<div><br></div><div>Fixed in r326413.</div><div><br></div><div>Cheers,</div><div>Lang.</div><div><br></div><div>-- Lang.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 28, 2018 at 1:26 PM, Rafael Avila de Espindola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Sorry for just noticing it, but:<br>
<span class=""><br>
> +/// Behaves the same as handleErrors, except that it requires that all<br>
> +/// errors be handled by the given handlers. If any unhandled error remains<br>
> +/// after the handlers have run, report_fatal_error() will be called.<br>
<br>
</span>It actually calls llvm_unreachable. If it is considered a usage bug for<br>
this code to see an Error we should update the documentation, if not,<br>
the code.<br>
<span class=""><br>
> +template <typename... HandlerTs><br>
> +void handleAllErrors(Error E, HandlerTs &&... Handlers) {<br>
> +  cantFail(handleErrors(std::<wbr>move(E), std::forward<HandlerTs>(<wbr>Handlers)...));<br>
> +}<br>
<br>
<br>
</span>Cheers,<br>
Rafael<br>
</blockquote></div><br></div>