Skip to content

Commit 2a3d658

Browse files
authored
Merge pull request #17693 from ChristopherRogers/master
Fix typos/grammar in comments & docs
2 parents d72cae8 + dff1d89 commit 2a3d658

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

include/swift/AST/Module.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class ModuleDecl : public DeclContext, public TypeDecl {
151151
};
152152

153153
private:
154-
/// If non-NULL, an plug-in that should be used when performing external
154+
/// If non-NULL, a plug-in that should be used when performing external
155155
/// lookups.
156156
// FIXME: Do we really need to bloat all modules with this?
157157
DebuggerClient *DebugClient = nullptr;

include/swift/SIL/Projection.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ bool getIntegerIndex(SILValue IndexVal, unsigned &IndexConst);
7878
/// TypeAlignments.h.
7979
///
8080
/// Projection Kinds which can be represented via indices can use as many bits
81-
/// as they want to represent the kind. When the index value is uses at most 11
81+
/// as they want to represent the kind. When the index value uses at most 11
8282
/// bits, we represent it inline in the data structure. This is taking advantage
8383
/// of the fact that on most modern OSes (including Darwin), the zero page is
8484
/// not allocated. In the case where we have more than 11 bits of value

lib/SILOptimizer/Transforms/Outliner.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,7 +1141,7 @@ class OutlinePatterns {
11411141
llvm::DenseMap<CanType, SILDeclRef> BridgeFromObjectiveCache;
11421142

11431143
public:
1144-
/// Try matching an outlineable pattern from the current current instruction.
1144+
/// Try matching an outlineable pattern from the current instruction.
11451145
OutlinePattern *tryToMatch(SILBasicBlock::iterator CurInst) {
11461146
if (BridgedPropertyPattern.matchInstSequence(CurInst))
11471147
return &BridgedPropertyPattern;

utils/bug_reducer/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ Then I invoke the bug reducer as follows:
6262

6363
Then the bug_reducer will first attempt to reduce the passes. Then, it will
6464
attempt to reduce the test case by splitting the module and only optimizing part
65-
of it. The output will be look something like:
65+
of it. The output will look something like:
6666

6767
*** Successfully Reduced file!
6868
*** Final File: ${FINAL_SIB_FILE}

0 commit comments

Comments
 (0)