[PATCH/RFC] Fix -fdelayed-template-parsing leaks with enableIncrementalProcessing

Brad King brad.king at kitware.com
Tue Sep 2 12:04:30 PDT 2014


On 08/19/2014 03:43 PM, Brad King wrote:
> With -fdelayed-template-parsing enabled (for MSVC compat) then late
> template parsing allocates TemplateIdAnnotation instances that are
> never freed.
[snip]
> Here is a patch series to add a test for this case and propose a
> possible fix.

Ping.  My application cannot run in Assert builds without this, and
I think avoiding memory leaks is good for Clang upstream anyway.

Thanks,
-Brad




More information about the cfe-commits mailing list