Skip to content

Commit 9d99eb7

Browse files
committed
Fix typo
1 parent cba4ae8 commit 9d99eb7

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/swift/AST/DiagnosticEngine.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ namespace swift {
814814
void setBufferIndirectlyCausingDiagnosticToInput(
815815
StringRef defaultDiagnosticInputFile);
816816
void resetBufferIndirectlyCausingDiagnostic();
817-
SourceLoc getDefaultDiagnostLoc() const {
817+
SourceLoc getDefaultDiagnosticLoc() const {
818818
return bufferIndirectlyCausingDiagnostic;
819819
}
820820
};

lib/AST/DiagnosticEngine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ void DiagnosticEngine::emitDiagnostic(const Diagnostic &diagnostic) {
839839
Consumer->handleDiagnostic(SourceMgr, loc, toDiagnosticKind(behavior),
840840
diagnosticStringFor(Info.ID),
841841
diagnostic.getArgs(), Info,
842-
getDefaultDiagnostLoc());
842+
getDefaultDiagnosticLoc());
843843
}
844844
}
845845

0 commit comments

Comments
 (0)