mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 03:56:16 +08:00
[flang] reformat for merge
Original-commit: flang-compiler/f18@ca8f9611f5 Reviewed-on: https://github.com/flang-compiler/f18/pull/84
This commit is contained in:
@@ -116,9 +116,10 @@ bool Message::SortBefore(const Message &that) const {
|
||||
}
|
||||
|
||||
bool Message::IsFatal() const {
|
||||
return std::visit(visitors{[](const MessageExpectedText &) { return true; },
|
||||
[](const MessageFixedText &x) { return x.isFatal(); },
|
||||
[](const MessageFormattedText &x) { return x.isFatal(); }},
|
||||
return std::visit(
|
||||
visitors{[](const MessageExpectedText &) { return true; },
|
||||
[](const MessageFixedText &x) { return x.isFatal(); },
|
||||
[](const MessageFormattedText &x) { return x.isFatal(); }},
|
||||
text_);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user