Home | History | Annotate | Download | only in Sema

Lines Matching full:binop

6062   /// 'OpaqueValueExpr(x) binop OpaqueValueExpr(expr)' or
6063 /// 'OpaqueValueExpr(expr) binop OpaqueValueExpr(x)'.
6091 /// value. Always has form 'OpaqueValueExpr(x) binop OpaqueValueExpr(expr)' or
6092 /// 'OpaqueValueExpr(expr) binop OpaqueValueExpr(x)'.
6114 // x = x binop expr;
6115 // x = expr binop x;
6185 // x binop= expr;
6186 // x = x binop expr;
6187 // x = expr binop x;
6245 // Build an update expression of form 'OpaqueValueExpr(x) binop
6246 // OpaqueValueExpr(expr)' or 'OpaqueValueExpr(expr) binop
6317 // * binop is one of +, *, -, /, &, ^, |, <<, or >>.
6318 // * binop, binop=, ++, and -- are not overloaded operators.
6319 // * The expression x binop expr must be numerically equivalent to x binop
6321 // precedence greater than binop, or by using parentheses around expr or
6323 // * The expression expr binop x must be numerically equivalent to (expr)
6324 // binop x. This requirement is satisfied if the operators in expr have
6325 // precedence equal to or greater than binop, or by using parentheses around
6458 // x binop= expr;
6459 // x = x binop expr;
6460 // x = expr binop x;
6490 // v = x binop= expr;
6491 // v = x = x binop expr;
6492 // v = x = expr binop x;
6532 // { v = x; x binop= expr; }
6533 // { v = x; x = x binop expr; }
6534 // { v = x; x = expr binop x; }
6539 // { x binop= expr; v = x; }
6540 // { x = x binop expr; v = x; }
6541 // { x = expr binop x; v = x; }
6554 BinaryOperator *BinOp = nullptr;
6556 BinOp = dyn_cast<BinaryOperator>(First);
6557 IsUpdateExprFound = BinOp && BinOp->getOpcode() == BO_Assign;
6564 // { v = x; x binop= expr; }
6565 // { v = x; x = x binop expr; }
6566 // { v = x; x = expr binop x; }
6568 auto *PossibleX = BinOp->getRHS()->IgnoreParenImpCasts();
6574 V = BinOp->getLHS();
6584 BinOp = nullptr;
6586 BinOp = dyn_cast<BinaryOperator>(Second);
6587 IsUpdateExprFound = BinOp && BinOp->getOpcode() == BO_Assign;
6594 // { x binop= expr; v = x; }
6595 // { x = x binop expr; v = x; }
6596 // { x = expr binop x; v = x; }
6598 auto *PossibleX = BinOp->getRHS()->IgnoreParenImpCasts();
6604 V = BinOp->getLHS();