Skip to content

Commit 7bb937e

Browse files
committed
clean up comment
1 parent 22e8f06 commit 7bb937e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

flang/lib/Parser/message.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,10 +481,10 @@ void Messages::Emit(llvm::raw_ostream &o, const AllCookedSources &allCooked,
481481
std::size_t errorsEmitted{0};
482482
for (const Message *msg : sorted) {
483483
bool shouldSkipMsg{false};
484-
// Don't emit two identical messages for the same location
485-
// At the same location messages are sorted by the order they were
486-
// added to the list, which is a decent proxy for the causality
487-
// of the messages.
484+
// Don't emit two identical messages for the same location.
485+
// At the same location, messages are sorted by the order they were
486+
// added to the Messages buffer, which is a decent proxy for the
487+
// causality of the messages.
488488
if (!msgsWithLastLocation.empty()) {
489489
if (msgsWithLastLocation[0]->AtSameLocation(*msg)) {
490490
for (const Message *msgAtThisLocation : msgsWithLastLocation) {

0 commit comments

Comments
 (0)