Looks like this is a fallout when we introduce the error-bit in Type.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/include/clang/AST/DependenceFlags.h | ||
---|---|---|
123 | oops! seems like we should be able to observe this directly in an AST dump test too, which should be failing to mark some nodes as error-dependent. |
clang/include/clang/AST/DependenceFlags.h | ||
---|---|---|
123 | yes, in theory. The code path need to go through "error expr" -> "error type" -> "recovery expr", but it seems not easy to produce a case in non-template context, either we bail out too early, or the recovery expression is not built. |
oops! seems like we should be able to observe this directly in an AST dump test too, which should be failing to mark some nodes as error-dependent.
(Not sure if there's a simpler example than your crashing testcase though)