forked from OSchip/llvm-project
!< is >=, not >. Thanks to Max Hailperin for pointing this out!
llvm-svn: 44291
This commit is contained in:
parent
136449a6d7
commit
752b05fe94
|
@ -97,7 +97,7 @@ def unary!(v)
|
|||
|
||||
# Define > with the same precedence as <.
|
||||
def binary> 10 (LHS RHS)
|
||||
!(LHS < RHS); # alternatively, could just use "RHS < LHS"
|
||||
RHS < LHS;
|
||||
|
||||
# Binary "logical or", (note that it does not "short circuit")
|
||||
def binary| 5 (LHS RHS)
|
||||
|
@ -532,7 +532,7 @@ def unary-(v)
|
|||
|
||||
# Define > with the same precedence as >.
|
||||
def binary> 10 (LHS RHS)
|
||||
!(LHS < RHS);
|
||||
RHS < LHS;
|
||||
|
||||
# Binary logical or, which does not short circuit.
|
||||
def binary| 5 (LHS RHS)
|
||||
|
|
Loading…
Reference in New Issue