Skip to content

Commit 50f053a

Browse files
authored
Merge pull request #11166 from koogawa/fix-typos
2 parents 23345c4 + 536702a commit 50f053a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/ClangImporter/ClangImporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -725,7 +725,7 @@ bool ClangImporter::canReadPCH(StringRef PCHFilename) {
725725
// FIXME: The following attempts to do an initial ReadAST invocation to verify
726726
// the PCH, without affecting the existing CompilerInstance.
727727
// Look into combining creating the ASTReader along with verification + update
728-
// if necesary, so that we can create and use one ASTReader in the common case
728+
// if necessary, so that we can create and use one ASTReader in the common case
729729
// when there is no need for update.
730730

731731
CompilerInstance &CI = *Impl.Instance;

lib/ClangImporter/SwiftLookupTable.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ namespace swift {
5050
struct SerializedSwiftName {
5151
/// The kind of the name if it is a special name
5252
DeclBaseName::Kind Kind;
53-
/// The name of the idenifier if it is not a special name
53+
/// The name of the identifier if it is not a special name
5454
StringRef Name;
5555

5656
SerializedSwiftName() : Kind(DeclBaseName::Kind::Normal), Name(StringRef()) {}

lib/Frontend/SerializedDiagnosticConsumer.cpp

Lines changed: 1 addition & 1 deletion
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)