[PATCH] D26166: [Sema] Don't issue analysis-based warnings when a fatal error has occurred

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 31 17:49:57 PDT 2016


rsmith added a comment.

It looks like the bug is that if we hit an uncompilable error after hitting a non-uncompilable fatal error (promoted from a warning), we fail to notice that we've hit an uncompileable error. Our AST should be complete if `hasUncompilableErrorOccurred()` is not set, and it looks like we're violating that invariant here.


https://reviews.llvm.org/D26166





More information about the cfe-commits mailing list