[PATCH] D50462: Try building complete AST after a fatal error was emitted if further diagnostics are expected

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 8 16:22:09 PDT 2018


arphaman added a comment.

This seems sensible to me.



================
Comment at: include/clang/Basic/Diagnostic.h:764
+  /// off extra processing that might be wasteful in this case.
+    bool areDiagnosticsSuppressedAfterFatalError() const {
+    return FatalErrorOccurred && SuppressAfterFatalError;
----------------
Looks like this line wasn't formatted with clang-format.


Repository:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D50462





More information about the cfe-commits mailing list