isInfixBinaryOp weird behavior

Hey,

CXXOperatorCallExpr::isInfixBinaryOp() returns true for overloaded postfix increment/decrement.
It returns false for the prefix increment/decrement.

I know this behavior is consistent with the commentary.
(i’m guessing that the behavior comes from he fact that the postfix increment is overloaded using an extra unused parameter)

I think isInfixBinaryOp should never return true for increment and decrement operator, regardless of where they are.

As it is, this function caused a interesting bug on my side :slight_smile:

Best regards,