[clang] [Clang][Parse] Fix heap-use-after-free when cleaning up TemplateIds (PR #221102)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 6 01:48:00 PDT 2026


cor3ntin wrote:

Any chance you can cleanup the test?
I don't think this is the right fix either - Did you try to see if the token_annotation can/should be removed instead?
At the very least `mightHavePendingAnnotationTokens` needs to be change, not the point of use.

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


More information about the cfe-commits mailing list