Skip to content

Commit ea1ced5

Browse files
committed
fix some cases
for consistency
1 parent 9b5593a commit ea1ced5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: lib/ClangImporter/ClangImporter.cpp

+3-3
Original file line numberDiff line numberDiff line change
@@ -396,7 +396,7 @@ getNormalInvocationArguments(std::vector<std::string> &invocationArgStrs,
396396
invocationArgStrs.push_back("-Xclang");
397397
invocationArgStrs.push_back("-nostdsysteminc");
398398
} else {
399-
// On Darwin, clang uses -isysroot to specify the include
399+
// On Darwin, Clang uses -isysroot to specify the include
400400
// system root. On other targets, it seems to use --sysroot.
401401
if (triple.isOSDarwin()) {
402402
invocationArgStrs.push_back("-isysroot");
@@ -745,7 +745,7 @@ bool ClangImporter::Implementation::importHeader(
745745
pp.EndSourceFile();
746746
bumpGeneration();
747747

748-
// Wrap all clang imports under a swift import decl.
748+
// Wrap all Clang imports under a Swift import decl.
749749
for (auto &Import : BridgeHeaderTopLevelImports) {
750750
if (auto *ClangImport = Import.dyn_cast<clang::ImportDecl*>()) {
751751
Import = createImportDecl(SwiftContext, adapter, ClangImport, {});
@@ -2165,7 +2165,7 @@ void ClangImporter::lookupValue(Identifier name, VisibleDeclConsumer &consumer){
21652165

21662166
// If we *still* haven't found anything, try looking for '<name>Ref'.
21672167
// Eventually, this should be optimized by recognizing this case when
2168-
// generating the clang module.
2168+
// generating the Clang module.
21692169
if (!FoundAny && clangIDToLookup) {
21702170
llvm::SmallString<128> buffer;
21712171
buffer += clangIDToLookup->getName();

0 commit comments

Comments
 (0)