Searched refs:CanBeUnaryOperator (Results 1 – 2 of 2) sorted by relevance
11845 bool CanBeUnaryOperator = OperatorUses[Op][0]; in CheckOverloadedOperatorDeclaration() local11856 ((NumParams == 1 && !CanBeUnaryOperator) || in CheckOverloadedOperatorDeclaration()11861 if (CanBeUnaryOperator && CanBeBinaryOperator) { in CheckOverloadedOperatorDeclaration()11863 } else if (CanBeUnaryOperator) { in CheckOverloadedOperatorDeclaration()
15474 bool CanBeUnaryOperator = OperatorUses[Op][0]; in CheckOverloadedOperatorDeclaration() local15485 ((NumParams == 1 && !CanBeUnaryOperator) || in CheckOverloadedOperatorDeclaration()15490 if (CanBeUnaryOperator && CanBeBinaryOperator) { in CheckOverloadedOperatorDeclaration()15492 } else if (CanBeUnaryOperator) { in CheckOverloadedOperatorDeclaration()