[cfe-commits] r90283 - in /cfe/trunk: lib/Sema/Sema.h lib/Sema/SemaDeclCXX.cpp lib/Sema/SemaExprCXX.cpp test/CodeGenCXX/virtual-destructor-synthesis.cpp
Sean Hunt
rideau3 at gmail.com
Tue Dec 1 20:00:11 PST 2009
Fariborz Jahanian wrote:
>> I thought about this too. I think this will not happen. If we have a
>> declaration which eventually requires
>> the delete operator for its destruction, the CheckDestructor is called
>> and operator delete will
>> be looked up. Except that this time a diagnostic will be issued.
>
> Oops. It can happen. If user has a delete operator with extra arguments.
>
> - Fariborz
It doesn't help that there's some serious confusion regarding
deallocation right now. We need a way to look up the usual deallocation
function of a scope, if I guess the committee's direction correctly.
Sean
More information about the cfe-commits
mailing list