Skip to content

Commit 536702a

Browse files
author
Kosuke Ogawa
committed
[Gardening] Fix typo: DiagosticKind -> DiagnosticKind
1 parent 9ab7a45 commit 536702a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Frontend/SerializedDiagnosticConsumer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ void SerializedDiagnosticConsumer::addRangeToRecord(CharSourceRange Range,
285285
addLocToRecord(Range.getEnd(), SM, Filename, Record);
286286
}
287287

288-
/// \brief Map a Swift DiagosticKind to the diagnostic level expected
288+
/// \brief Map a Swift DiagnosticKind to the diagnostic level expected
289289
/// for serialized diagnostics.
290290
static clang::serialized_diags::Level getDiagnosticLevel(DiagnosticKind Kind) {
291291
switch (Kind) {

0 commit comments

Comments
 (0)