Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] API change made by bug 490475

We can preserve the old method, deprecate it, and introduce an new one that we can call asNumber or something like that.

-sergey

On Thu, Apr 21, 2016 at 6:51 PM, Nathan Ridge <zeratul976@xxxxxxxxxxx> wrote:
I'm reviewing the patch for bug 490475, which adds support for C++14 extensions to constexpr evaluation (and improves our constexpr evaluation in various other ways).

I just realized that the patch makes an API change. Just one, as far as I can tell: the return type of IValue.numericalValue() is changed from Long to Number, to reflect the fact that the patch adds support for floating-point constant _expression_ values.

Is this API change OK for CDT 9.0?

Thanks,
Nate

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/cdt-dev


Back to the top