diff --git a/lib/IDE/REPLCodeCompletion.cpp b/lib/IDE/REPLCodeCompletion.cpp index 4419c16a66c..098d66807da 100644 --- a/lib/IDE/REPLCodeCompletion.cpp +++ b/lib/IDE/REPLCodeCompletion.cpp @@ -178,7 +178,7 @@ REPLCompletions::REPLCompletions() // Create a CodeCompletionConsumer. Consumer.reset(new REPLCodeCompletionConsumer(*this)); - // Cerate a factory for code completion callbacks that will feed the + // Create a factory for code completion callbacks that will feed the // Consumer. CompletionCallbacksFactory.reset( ide::makeCodeCompletionCallbacksFactory(CompletionContext, diff --git a/tools/SourceKit/lib/SwiftLang/SwiftCompletion.cpp b/tools/SourceKit/lib/SwiftLang/SwiftCompletion.cpp index b2d74a6e227..f4906b7a230 100644 --- a/tools/SourceKit/lib/SwiftLang/SwiftCompletion.cpp +++ b/tools/SourceKit/lib/SwiftLang/SwiftCompletion.cpp @@ -167,7 +167,7 @@ static bool swiftCodeCompleteImpl(SwiftLangSupport &Lang, auto swiftCache = Lang.getCodeCompletionCache(); // Pin the cache. ide::CodeCompletionContext CompletionContext(swiftCache->getCache()); - // Cerate a factory for code completion callbacks that will feed the + // Create a factory for code completion callbacks that will feed the // Consumer. std::unique_ptr CompletionCallbacksFactory( ide::makeCodeCompletionCallbacksFactory(CompletionContext,