Skip to content

[gardening] Fix recently introduced typos: "contet" → "context", "dependcy" → "dependency", "traget" → "target" #1497

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Mar 1, 2016
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion lib/ClangImporter/ImporterImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ class LLVM_LIBRARY_VISIBILITY ClangImporter::Implementation
///
/// When the context into which the declaration will be imported
/// matches a Clang declaration context (the common case), the
/// result will be expressed as a declaration contet. Otherwise,
/// result will be expressed as a declaration context. Otherwise,
/// if the Clang type is not itself a declaration context (for
/// example, a typedef that comes into Swift as a strong type),
/// the type declaration will be provided.
Expand Down
2 changes: 1 addition & 1 deletion lib/Driver/ToolChains.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -907,7 +907,7 @@ addLinkSanitizerLibArgsForDarwin(const ArgList &Args,
StringRef Sanitizer, const ToolChain &TC) {
// Sanitizer runtime libraries requires C++.
Arguments.push_back("-lc++");
// Add explicit dependcy on -lc++abi, as -lc++ doesn't re-export
// Add explicit dependency on -lc++abi, as -lc++ doesn't re-export
// all RTTI-related symbols that are used.
Arguments.push_back("-lc++abi");

Expand Down
2 changes: 1 addition & 1 deletion lib/Option/SanitizerOptions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ SanitizerKind swift::parseSanitizerArgValues(const llvm::opt::Arg *A,
}
}

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