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

via cfe-commits cfe-commits at lists.llvm.org
Sun Sep 6 07:55:54 PDT 2026


AZero13 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.

I can't cleanup the test. I wish I can I really do.

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


More information about the cfe-commits mailing list