Skip to main content

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

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

Back to the top