Lines Matching refs:that
126 bool MessageExpectedText::Merge(const MessageExpectedText &that) { in Merge() argument
134 u_, that.u_); in Merge()
137 bool Message::SortBefore(const Message &that) const { in SortBefore()
155 location_, that.location_); in SortBefore()
255 bool Message::operator==(const Message &that) const { in operator ==()
256 if (!AtSameLocation(that) || ToString() != that.ToString() || in operator ==()
257 severity() != that.severity() || in operator ==()
258 attachmentIsContext_ != that.attachmentIsContext_) { in operator ==()
261 const Message *thatAttachment{that.attachment_.get()}; in operator ==()
274 bool Message::Merge(const Message &that) { in Merge() argument
275 return AtSameLocation(that) && in Merge()
276 (!that.attachment_.get() || in Merge()
277 attachment_.get() == that.attachment_.get()) && in Merge()
285 text_, that.text_); in Merge()
305 bool Message::AtSameLocation(const Message &that) const { in AtSameLocation()
316 location_, that.location_); in AtSameLocation()
330 void Messages::Merge(Messages &&that) { in Merge() argument
332 *this = std::move(that); in Merge()
334 while (!that.messages_.empty()) { in Merge()
335 if (Merge(that.messages_.front())) { in Merge()
336 that.messages_.pop_front(); in Merge()
338 auto next{that.messages_.begin()}; in Merge()
341 messages_.end(), that.messages_, that.messages_.begin(), next); in Merge()
347 void Messages::Copy(const Messages &that) { in Copy() argument
348 for (const Message &m : that.messages_) { in Copy()