[cfe-commits] r51362 - /cfe/trunk/lib/AST/TranslationUnit.cpp

Eli Friedman eli.friedman at gmail.com
Tue May 20 22:23:48 PDT 2008


On Tue, May 20, 2008 at 10:01 PM, Eli Friedman <eli.friedman at gmail.com> wrote:
> Author: efriedma
> Date: Wed May 21 00:01:55 2008
> New Revision: 51362
>
> URL: http://llvm.org/viewvc/llvm-project?rev=51362&view=rev
> Log:
> Don't kill the declarations if the translation unit doesn't own them
> (specifically, for TranslationUnits created from SerializationTest.cpp).
> Fixes a double-free bug in the serialization tests.

This fix is wrong; it completely kills the AST destruction code.  New
fix in a bit.

-Eli



More information about the cfe-commits mailing list