[clang] [clang-repl] Fix assertion failure in CleanUpPTU() (PR #85378)

Stefan Gränitz via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 15 05:18:48 PDT 2024


weliveindetail wrote:

I can reproduce it downstream in the implicit Undo after including a header that causes a lot of parse errors in nested headers. I am afraid it's unpractical to emulate in the test suite upstream.

The code is exercised in all Undo tests. They don't reproduce the issue right now, but it's just a matter of likeliness. I think this fix is fine without an additional test.

https://github.com/llvm/llvm-project/pull/85378


More information about the cfe-commits mailing list