Skip to content

Commit 2b28afa

Browse files
committed
Merge pull request #74 from KevinPayravi/patch-1
Wording and grammar fixes in LLVMOpt.cpp comments
2 parents 9a67365 + db3affb commit 2b28afa

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/swift-llvm-opt/LLVMOpt.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
///
1313
/// \file
1414
///
15-
/// This is a simple reimplementation of opt that includes support for swift
16-
/// specific llvm passes. It is meant to make it easier to handle issues related
15+
/// This is a simple reimplementation of opt that includes support for Swift-
16+
/// specific LLVM passes. It is meant to make it easier to handle issues related
1717
/// to transitioning to the new LLVM pass manager (which lacks the dynamicism of
1818
/// the old pass manager) and also problems during the code base transition to
19-
/// that pass manager. Additionally it will enable a user to exactly simulates
20-
/// swift's LLVM pass pipeline by using the same pass pipeline building
19+
/// that pass manager. Additionally it will enable a user to exactly simulate
20+
/// Swift's LLVM pass pipeline by using the same pass pipeline building
2121
/// machinery in IRGen, something not possible with opt.
2222
///
2323
//===----------------------------------------------------------------------===//
@@ -72,7 +72,7 @@ using namespace swift;
7272
// Option Declarations
7373
//===----------------------------------------------------------------------===//
7474

75-
// The OptimizationList is automatically populated with registered Passes by the
75+
// The OptimizationList is automatically populated with registered passes by the
7676
// PassNameParser.
7777
//
7878
static llvm::cl::list<const llvm::PassInfo *, bool, llvm::PassNameParser>

0 commit comments

Comments
 (0)