[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Extended API to add support for nullptr (C++11)
|
Hi,
I don't think it is realistic to add support for constexpr in the Juno time frame. In order to make constant expressions work, we need to deal with dependent expressions, which we have avoided until now (https://bugs.eclipse.org/bugs/show_bug.cgi?id=299911) . Also we need a (similar) concept of evaluating expressions for a specific parameter assignment.
I have a local branch where I work on the dependent expressions. Because I can't spend as much time on CDT as I used to, it takes its time to complete this task. Even if I finish it in the next weeks I will not commit it to Juno, it'd be too risky at this point in the development cycle.
Adding support for the syntax only, could be done for Juno. I will concentrate on the dependent expressions, though.
Markus.
-----Original Message-----
From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Nathan Ridge
Sent: Friday, May 04, 2012 7:57 PM
To: CDT Mailing List
Subject: Re: [cdt-dev] Extended API to add support for nullptr (C++11)
> On Fri, May 4, 2012 at 12:50 AM, Schorn, Markus
> <Markus.Schorn@xxxxxxxxxxxxx<mailto:Markus.Schorn@xxxxxxxxxxxxx>>
> wrote:
>
> Hi,
>
> I have added support for the null pointer constant
> (https://bugs.eclipse.org/bugs/show_bug.cgi?id=327298)
Nice - thanks Markus!
> From: eclipse.sprigogin@xxxxxxxxx
>
> Is constexpr also in your plans for Juno?
>
> -sergey
+1
Even if complete support for constexpr (such as being evaluate to evaluate constexpr functions) is too much work for Juno, perhaps it would be possible to add just syntax-level support (i.e. have the parser recognize constexpr in the contexts where it can appear, and then just ignore it)? I think that should be sufficient to allow CDT to parse GCC 4.6 standard library headers, which would be nice progress for Juno.
Regards,
Nate
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev