Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/ClangImporter/ClangImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ getNormalInvocationArguments(std::vector<std::string> &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");
Expand Down Expand Up @@ -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<clang::ImportDecl*>()) {
Import = createImportDecl(SwiftContext, adapter, ClangImport, {});
Expand Down Expand Up @@ -2165,7 +2165,7 @@ void ClangImporter::lookupValue(Identifier name, VisibleDeclConsumer &consumer){

// If we *still* haven't found anything, try looking for '<name>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();
Expand Down