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

Volodymyr Sapsai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 16 13:14:29 PDT 2018


vsapsai added a comment.

Have you checked that produced AST is of sufficient quality to be used? Because, for example, for invalid code error recovery tries to keep going but the end result isn't always good.

In the test you verify that you can ignore bogus includes. Is this the real-world use case you want to address? Or something like "stddef.h not found"?


Repository:
  rC Clang

https://reviews.llvm.org/D50462





More information about the cfe-commits mailing list