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

Brad King brad.king at kitware.com
Mon Sep 15 11:25:55 PDT 2014


On 09/02/2014 05:21 PM, Reid Kleckner wrote:
> +Ben Kramer, since he wrote r154743.
> 
> It seems reasonable for Sema to ask Parser to clean things up at the
> end of ActOnEndOfTranslationUnit. In this particular edge case we
> don't have a Parser call bracketing the Sema methods, so we have
> to resort to something more explicit.

Thanks.  I've rebased on r217789 to resolve a logical conflict.

-Brad

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Demonstrate-late-template-parsing-leak-with-incremen.patch
Type: text/x-diff
Size: 4900 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140915/53f7a3d2/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: 4086 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140915/53f7a3d2/attachment-0001.patch>


More information about the cfe-commits mailing list