Skip to content

Commit 94f52ce

Browse files
committed
Merge pull request swiftlang#1497 from practicalswift/typo-fixes-20160301
[gardening] Fix recently introduced typos: "contet" → "context", "dependcy" → "dependency", "traget" → "target"
2 parents 88c6cdb + 5e491e3 commit 94f52ce

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lib/ClangImporter/ImporterImpl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ class LLVM_LIBRARY_VISIBILITY ClangImporter::Implementation
821821
///
822822
/// When the context into which the declaration will be imported
823823
/// matches a Clang declaration context (the common case), the
824-
/// result will be expressed as a declaration contet. Otherwise,
824+
/// result will be expressed as a declaration context. Otherwise,
825825
/// if the Clang type is not itself a declaration context (for
826826
/// example, a typedef that comes into Swift as a strong type),
827827
/// the type declaration will be provided.

lib/Driver/ToolChains.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ addLinkSanitizerLibArgsForDarwin(const ArgList &Args,
907907
StringRef Sanitizer, const ToolChain &TC) {
908908
// Sanitizer runtime libraries requires C++.
909909
Arguments.push_back("-lc++");
910-
// Add explicit dependcy on -lc++abi, as -lc++ doesn't re-export
910+
// Add explicit dependency on -lc++abi, as -lc++ doesn't re-export
911911
// all RTTI-related symbols that are used.
912912
Arguments.push_back("-lc++abi");
913913

lib/Option/SanitizerOptions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ SanitizerKind swift::parseSanitizerArgValues(const llvm::opt::Arg *A,
4848
}
4949
}
5050

51-
// Check if the traget is supported for this sanitizer.
51+
// Check if the target is supported for this sanitizer.
5252
if (!Triple.isOSDarwin() && kind != SanitizerKind::None) {
5353
SmallVector<char, 128> buffer;
5454
Diags.diagnose(SourceLoc(), diag::error_unsupported_opt_for_target,

0 commit comments

Comments
 (0)