[cfe-commits] r140138 - in /cfe/trunk: lib/Sema/SemaDeclCXX.cpp test/SemaCXX/return-noreturn.cpp

Sebastian Redl sebastian.redl at getdesigned.at
Tue Sep 20 03:44:57 PDT 2011


On 20.09.2011 06:55, Chandler Carruth wrote:
> Author: chandlerc
> Date: Mon Sep 19 23:55:26 2011
> New Revision: 140138
>
>
> Testing this is a bit awkward. I've done it by running the
> noreturn-sensitive tests in both modes, which previous failed and now
> passes, but if anyone has ideas about how to more specifically and
> thoroughly test that the extended info on a destructor is preserved when
> adding noexcept, I'm all ears.
>
Can we attach a deprecated attribute to the destructor instead? That 
would more directly generate warnings to test on.

Sebastian



More information about the cfe-commits mailing list