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

Brad King brad.king at kitware.com
Mon Sep 15 11:48:31 PDT 2014


On 09/15/2014 02:42 PM, Reid Kleckner wrote:
> lgtm

Thanks.  I do not have commit access.  Would someone apply, please?

> +    if(LateTemplateParserCleanup)
> +      LateTemplateParserCleanup(OpaqueParser);
> 
> Should be "if (".

There was another case of that in the test code in patch 0001 too.
Revised patches attached.

Thanks,
-Brad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Demonstrate-late-template-parsing-leak-with-incremen.patch
Type: text/x-diff
Size: 4901 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140915/6a94de99/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-late-template-parsing-leak-with-incremental-proc.patch
Type: text/x-diff
Size: 4087 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140915/6a94de99/attachment-0001.patch>


More information about the cfe-commits mailing list