mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-06 06:54:44 +01:00
location -> loc abbreviation (#3826)
This commit is contained in:
@@ -10,9 +10,9 @@ void PrintTo(const Diagnostic& diagnostic, std::ostream* os) {
|
||||
*os << "Diagnostic{";
|
||||
PrintTo(diagnostic.level, os);
|
||||
for (const auto& message : diagnostic.messages) {
|
||||
*os << ", {" << message.location.filename << ":"
|
||||
<< message.location.line_number << ":" << message.location.column_number
|
||||
<< ", \"" << message.format_fn(message) << "}";
|
||||
*os << ", {" << message.loc.filename << ":" << message.loc.line_number
|
||||
<< ":" << message.loc.column_number << ", \""
|
||||
<< message.format_fn(message) << "}";
|
||||
}
|
||||
*os << "\"}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user