[cfe-commits] r60947 - in /cfe/trunk: include/clang/AST/DeclBase.h lib/Sema/SemaDecl.cpp lib/Sema/SemaDeclCXX.cpp test/SemaCXX/constructor.cpp test/SemaCXX/destructor.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Sat Dec 13 07:15:35 PST 2008


Douglas Gregor wrote:
> Author: dgregor
> Date: Fri Dec 12 02:25:50 2008
> New Revision: 60947
>
> URL: http://llvm.org/viewvc/llvm-project?rev=60947&view=rev
> Log:
> Enable out-of-line definitions of C++ constructors and destructors
>   
Something is wrong with this. It merges the declaration and the 
definition of the out-of-line destructor. Then both the CXXRecordDecl 
and the TranslationUnit think they own the constructor decl and try to 
free it.

Sebastian



More information about the cfe-commits mailing list