Skip to content

[gardening] Fix recently introduced typos #904

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 1 commit into from
Jan 7, 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 docs/SIL.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1541,7 +1541,7 @@ A value ``%1`` is said to be *value-dependent* on a value ``%0`` if:
- ``%1`` is the result of ``mark_dependence`` and ``%0`` is either of
the operands.

- ``%1`` is the value address of an box allocation instruction of which
- ``%1`` is the value address of a box allocation instruction of which
``%0`` is the box reference.

- ``%1`` is the result of a ``struct``, ``tuple``, or ``enum``
Expand Down
2 changes: 1 addition & 1 deletion include/swift/AST/DiagnosticsDriver.def
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ ERROR(error_unknown_target,driver,none,
"unknown target '%0'", (StringRef))

ERROR(error_framework_bridging_header,driver,none,
"using bridging headers with framework targets is unsupported", ())
"using bridging headers with framework targets is unsupported", ())

ERROR(error_i_mode,driver,none,
"the flag '-i' is no longer required and has been removed; "
Expand Down
4 changes: 2 additions & 2 deletions include/swift/Basic/PointerIntEnum.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ struct PointerIntEnumIndexKindValue
/// PointerIntEnum. On 64 bit we have many more bits than that.
///
/// By using this representation, we can make PointerIntEnum a true value type
/// that is trivially constructable and destructable without needing to malloc
/// that is trivially constructible and destructible without needing to malloc
/// memory.
///
/// In order for all of this to work, the user of this needs to construct an
Expand Down Expand Up @@ -125,7 +125,7 @@ class PointerIntEnum {
static constexpr unsigned NumIndexBits =
sizeof(uintptr_t) * CHAR_BIT - IndexShiftOffset;

/// The maximum index that can be stored for a index PointerIntEnum caes.
/// The maximum index that can be stored for an index PointerIntEnum case.
static constexpr uintptr_t MaxIndex = (uintptr_t(1) << NumIndexBits) - 2;

/// The bit representation of an Invalid PointerIntEnum's storage.
Expand Down
2 changes: 1 addition & 1 deletion lib/IRGen/LocalTypeData.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ llvm::Value *LocalTypeDataCache::tryGet(IRGenFunction &IGF, Key key) {

// Make a new concrete entry at the active definition point.

// Register witih the active ConditionalDominanceScope if necessary.
// Register with the active ConditionalDominanceScope if necessary.
bool isConditional = IGF.isConditionalDominancePoint();
if (isConditional) {
IGF.registerConditionalLocalTypeDataKey(key);
Expand Down