[cfe-commits] r59441 - in /cfe/trunk: Driver/ docs/ include/clang/AST/ include/clang/Basic/ include/clang/Lex/ lib/AST/ lib/Basic/ lib/CodeGen/ lib/Sema/

Sebastian Redl sebastian.redl at getdesigned.at
Mon Nov 17 10:14:08 PST 2008


Doug Gregor wrote:
> On Mon, Nov 17, 2008 at 1:05 PM, Sebastian Redl
> <sebastian.redl at getdesigned.at> wrote:
>   
>> Does this take into account the seriously weird ways in which a destructor
>> can be called?
>>
>> struct Foo {
>>  typedef Foo Bar;
>> };
>> typedef Foo Baz;
>>
>> Foo f;
>> f.Baz::~Bar()
>>     
>
> Yuck.
Heh!

There are about 5 defect reports about the exact rules of destructor 
calls. Let's not forget that when we implement it.

Sebastian



More information about the cfe-commits mailing list