Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Is it a new bug?

Looks like a bug to me. Please file in Bugzilla.

-sergey

On Sun, May 16, 2010 at 7:37 AM, Chen Rui <chenruis@xxxxxxxxx> wrote:
I found that, method ASTBinaryExpression.getExpressionType() dosen't return the correct IType when the given _expression_ is like "a+4", where one operand is of CArrayType, and the other one is of int basic type. The result was expected to be a pointer type, but actually it is not. 
I think the author just didn't consider the case when one of the operands is of CArrayType

I'm not sure if it is a true bug! Could anyone explain please?

--
Chen Rui

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top