[cfe-dev] virtual dtor for Stmt in debug mode

Douglas Gregor dgregor at apple.com
Fri Feb 11 09:44:35 PST 2011


On Feb 11, 2011, at 8:40 AM, Olaf Krzikalla wrote:

> Hi,
> 
> I've just found out the hard way that there are no virtual functions in 
> the Stmt class anymore. Please, can we reintroduce a virtual dtor (or 
> something else) in debug mode as it would make debugging (at least for 
> MSVC users) much more easier (which is hard enough anyway).

Allowing the size of Stmt nodes change between release and debug modes makes it hard to mix-and-match .o files between debug and release builds :(

	- Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110211/959ed4f2/attachment.html>


More information about the cfe-dev mailing list