Lines Matching defs:Rhs
146 friend bool operator<(const DocNode &Lhs, const DocNode &Rhs) {
149 if (Lhs.KindAndDoc != Rhs.KindAndDoc) {
150 if (!Rhs.KindAndDoc)
154 return (unsigned)Lhs.getKind() < (unsigned)Rhs.getKind();
158 return Lhs.Int < Rhs.Int;
160 return Lhs.UInt < Rhs.UInt;
164 return Lhs.Bool < Rhs.Bool;
166 return Lhs.Float < Rhs.Float;
169 return Lhs.Raw < Rhs.Raw;
176 friend bool operator==(const DocNode &Lhs, const DocNode &Rhs) {
177 return !(Lhs < Rhs) && !(Rhs < Lhs);