[cfe-dev] Diagnostics are unconditionally suppressed after fatal error

Chris Lattner clattner at apple.com
Thu Apr 15 09:23:23 PDT 2010

On Apr 15, 2010, at 4:55 AM, Abramo Bagnara wrote:

> Currently it's not possible for a clang library client to obtain the
> diagnostics generated after the first fatal error.
> The attached (trivial) patch add a flag to control this behaviour.

I'm not sure I understand.  The idea of a fatal error is that it is the last one emitted.  If your library client doesn't want diagnostics to be discarded, it should map things that default to fatal to Error instead.


More information about the cfe-dev mailing list