Lines Matching refs:Errors
42 : Error(Error), BeginIndex(Error->Errors.size()) {}
45 // Merge all errors that happened while in this context.
46 if (BeginIndex < Error->Errors.size()) {
47 Diagnostics::ErrorContent &Dest = Error->Errors[BeginIndex];
48 for (size_t i = BeginIndex + 1, e = Error->Errors.size(); i < e; ++i) {
49 Dest.Messages.push_back(Error->Errors[i].Messages[0]);
51 Error->Errors.resize(BeginIndex + 1);
56 // Revert the errors.
57 Error->Errors.resize(BeginIndex);
67 Errors.emplace_back();
68 ErrorContent &Last = Errors.back();
197 for (size_t i = 0, e = Errors.size(); i != e; ++i) {
199 printErrorContentToStream(Errors[i], OS);
211 for (size_t i = 0, e = Errors.size(); i != e; ++i) {
213 const ErrorContent &Error = Errors[i];