Skip to content

Commit a0737a7

Browse files
authored
Merge pull request #58594 from jsoref/spelling-lib-localization
spelling: diagnostic
2 parents 9700020 + 94f2ea6 commit a0737a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Localization/LocalizationFormat.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ readYAML(llvm::yaml::IO &io, T &Seq, T &unknownIDs, bool, Context &Ctx) {
231231
io.beginMapping();
232232

233233
// If the current diagnostic ID is available in YAML and in `.def`, add it
234-
// to the diagnostics array. Otherwise, re-parse the current diagnnostic
234+
// to the diagnostics array. Otherwise, re-parse the current diagnostic
235235
// id as a string and store it in `unknownIDs` array.
236236
if (auto id = LocalizationInput::readID(io)) {
237237
// YAML file isn't guaranteed to have diagnostics in order of their

0 commit comments

Comments
 (0)