[cfe-dev] [PATCH] add constant expression evaluation to the AST and fix PR2413

Eli Friedman eli.friedman at gmail.com
Sat Jun 14 13:58:14 PDT 2008


On Sat, Jun 14, 2008 at 1:32 PM, Argiris Kirtzidis <akyrtzi at gmail.com> wrote:
> you cannot distinguish between an integer constant
> and a character one.

Hmm?  Are you saying that you'd want to distinguish between an integer
and a character constant?  There isn't any significant difference in
terms of constant evaluation.  Or are you saying that it would affect
consumers who shouldn't care?  For this, see my other email; I expect
consumers would choose based on the type of the expression.

-Eli



More information about the cfe-dev mailing list