Skip to content

Fix typos/grammar in comments & docs #17693

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
Jul 3, 2018
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 include/swift/AST/Module.h
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ class ModuleDecl : public DeclContext, public TypeDecl {
};

private:
/// If non-NULL, an plug-in that should be used when performing external
/// If non-NULL, a plug-in that should be used when performing external
/// lookups.
// FIXME: Do we really need to bloat all modules with this?
DebuggerClient *DebugClient = nullptr;
Expand Down
2 changes: 1 addition & 1 deletion include/swift/SIL/Projection.h
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ bool getIntegerIndex(SILValue IndexVal, unsigned &IndexConst);
/// TypeAlignments.h.
///
/// Projection Kinds which can be represented via indices can use as many bits
/// as they want to represent the kind. When the index value is uses at most 11
/// as they want to represent the kind. When the index value uses at most 11
/// bits, we represent it inline in the data structure. This is taking advantage
/// of the fact that on most modern OSes (including Darwin), the zero page is
/// not allocated. In the case where we have more than 11 bits of value
Expand Down
2 changes: 1 addition & 1 deletion lib/SILOptimizer/Transforms/Outliner.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1141,7 +1141,7 @@ class OutlinePatterns {
llvm::DenseMap<CanType, SILDeclRef> BridgeFromObjectiveCache;

public:
/// Try matching an outlineable pattern from the current current instruction.
/// Try matching an outlineable pattern from the current instruction.
OutlinePattern *tryToMatch(SILBasicBlock::iterator CurInst) {
if (BridgedPropertyPattern.matchInstSequence(CurInst))
return &BridgedPropertyPattern;
Expand Down
2 changes: 1 addition & 1 deletion utils/bug_reducer/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Then I invoke the bug reducer as follows:

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

*** Successfully Reduced file!
*** Final File: ${FINAL_SIB_FILE}
Expand Down