[PATCH] D65591: [AST] Add a flag indicating if any subexpression had errors
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 1 10:29:32 PDT 2019
ilya-biryukov created this revision.
ilya-biryukov added a reviewer: rsmith.
Herald added a subscriber: jfb.
Herald added a project: clang.
ilya-biryukov added a child revision: D65592: [Parser] Avoid spurious 'missing template' error in presence of typos.
The only subexpression that is considered an error now is TypoExpr, but
we plan to add expressions with errors to improve editor tooling on broken
code. We intend to use the same mechanism to guard against spurious
diagnostics on those as well.
See the follow-up revision for an actual usage of the flag.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 93287 bytes
Desc: not available
More information about the cfe-commits