Lines Matching refs:message
26 std::string FormatError(const SourceLocation& location, StringView message, size_t squiggle_size = 0u) {
48 error.append(message);
56 // ReportError records an error with the location, message, source line, and
59 // filename:line:col: error: message
62 void ErrorReporter::ReportError(const SourceLocation& location, StringView message) {
63 auto error = FormatError(location, message);
67 // ReportError records an error with the location, message, source line,
70 // filename:line:col: error: message
73 void ErrorReporter::ReportError(const Token& token, StringView message) {
76 auto error = FormatError(token_location, message, token_data.size());
80 // ReportError records the provided message.
81 void ErrorReporter::ReportError(StringView message) {
83 error.append(message);