diff --git a/lib/ClangImporter/ClangImporter.cpp b/lib/ClangImporter/ClangImporter.cpp index 52ff387b6d380..c21b8910fac87 100644 --- a/lib/ClangImporter/ClangImporter.cpp +++ b/lib/ClangImporter/ClangImporter.cpp @@ -396,7 +396,7 @@ getNormalInvocationArguments(std::vector &invocationArgStrs, invocationArgStrs.push_back("-Xclang"); invocationArgStrs.push_back("-nostdsysteminc"); } else { - // On Darwin, clang uses -isysroot to specify the include + // On Darwin, Clang uses -isysroot to specify the include // system root. On other targets, it seems to use --sysroot. if (triple.isOSDarwin()) { invocationArgStrs.push_back("-isysroot"); @@ -745,7 +745,7 @@ bool ClangImporter::Implementation::importHeader( pp.EndSourceFile(); bumpGeneration(); - // Wrap all clang imports under a swift import decl. + // Wrap all Clang imports under a Swift import decl. for (auto &Import : BridgeHeaderTopLevelImports) { if (auto *ClangImport = Import.dyn_cast()) { Import = createImportDecl(SwiftContext, adapter, ClangImport, {}); @@ -2165,7 +2165,7 @@ void ClangImporter::lookupValue(Identifier name, VisibleDeclConsumer &consumer){ // If we *still* haven't found anything, try looking for 'Ref'. // Eventually, this should be optimized by recognizing this case when - // generating the clang module. + // generating the Clang module. if (!FoundAny && clangIDToLookup) { llvm::SmallString<128> buffer; buffer += clangIDToLookup->getName();