[cfe-dev] -ferror-limit omits part of last error message
Nikola Smiljanic
popizdeh at gmail.com
Wed Aug 10 22:39:21 PDT 2011
On Fri, Jul 29, 2011 at 5:57 PM, Douglas Gregor <dgregor at apple.com> wrote:
>
>
> The -ferror-limit logic is clipping notes when it shouldn't.
>
> - Doug
>
>
Clang emits a fatal error (fatal_too_many_errors) when the error limit is
reached and this clips all subsequent diagnostics. Here's a patch that
allows notes to be emitted even after the fatal error. The question is what
kind of diagnostics does error-limit filter, everything, only errors,
warnings + errors? If it only filters errors then we should also allow
warnings to be emitted.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110811/58441d4c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error-limit_clipping_notes.patch
Type: application/octet-stream
Size: 546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110811/58441d4c/attachment.obj>
More information about the cfe-dev
mailing list