Lines Matching defs:that
131 bool MessageExpectedText::Merge(const MessageExpectedText &that) {
139 u_, that.u_);
142 bool Message::SortBefore(const Message &that) const {
160 location_, that.location_);
293 bool Message::operator==(const Message &that) const {
294 if (!AtSameLocation(that) || ToString() != that.ToString() ||
295 severity() != that.severity() ||
296 attachmentIsContext_ != that.attachmentIsContext_) {
299 const Message *thatAttachment{that.attachment_.get()};
312 bool Message::Merge(const Message &that) {
313 return AtSameLocation(that) &&
314 (!that.attachment_.get() ||
315 attachment_.get() == that.attachment_.get()) &&
323 text_, that.text_);
343 bool Message::AtSameLocation(const Message &that) const {
354 location_, that.location_);
368 void Messages::Merge(Messages &&that) {
370 *this = std::move(that);
372 while (!that.messages_.empty()) {
373 if (Merge(that.messages_.front())) {
374 that.messages_.pop_front();
376 auto next{that.messages_.begin()};
379 messages_.end(), that.messages_, that.messages_.begin(), next);
385 void Messages::Copy(const Messages &that) {
386 for (const Message &m : that.messages_) {