Lines Matching refs:LHS
425 /// If \p Separator is in the string, then the result is a pair (LHS, RHS)
426 /// such that (*this == LHS + Separator + RHS) is true and RHS is
428 /// pair (LHS, RHS) where (*this == LHS) and (RHS == "").
442 /// If \p Separator is in the string, then the result is a pair (LHS, RHS)
443 /// such that (*this == LHS + Separator + RHS) is true and RHS is
445 /// pair (LHS, RHS) where (*this == LHS) and (RHS == "").
477 /// If \p Separator is in the string, then the result is a pair (LHS, RHS)
478 /// such that (*this == LHS + Separator + RHS) is true and RHS is
480 /// pair (LHS, RHS) where (*this == LHS) and (RHS == "").
515 inline bool operator==(StringRef LHS, StringRef RHS) {
516 return LHS.equals(RHS);
519 inline bool operator!=(StringRef LHS, StringRef RHS) {
520 return !(LHS == RHS);
523 inline bool operator<(StringRef LHS, StringRef RHS) {
524 return LHS.compare(RHS) == -1;
527 inline bool operator<=(StringRef LHS, StringRef RHS) {
528 return LHS.compare(RHS) != 1;
531 inline bool operator>(StringRef LHS, StringRef RHS) {
532 return LHS.compare(RHS) == 1;
535 inline bool operator>=(StringRef LHS, StringRef RHS) {
536 return LHS.compare(RHS) != -1;