mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Wording and grammar fixes in LLVMOpt.cpp comments
This commit is contained in:
@@ -12,12 +12,12 @@
|
|||||||
///
|
///
|
||||||
/// \file
|
/// \file
|
||||||
///
|
///
|
||||||
/// This is a simple reimplementation of opt that includes support for swift
|
/// This is a simple reimplementation of opt that includes support for Swift-
|
||||||
/// specific llvm passes. It is meant to make it easier to handle issues related
|
/// specific LLVM passes. It is meant to make it easier to handle issues related
|
||||||
/// to transitioning to the new LLVM pass manager (which lacks the dynamicism of
|
/// to transitioning to the new LLVM pass manager (which lacks the dynamicism of
|
||||||
/// the old pass manager) and also problems during the code base transition to
|
/// the old pass manager) and also problems during the code base transition to
|
||||||
/// that pass manager. Additionally it will enable a user to exactly simulates
|
/// that pass manager. Additionally it will enable a user to exactly simulate
|
||||||
/// swift's LLVM pass pipeline by using the same pass pipeline building
|
/// Swift's LLVM pass pipeline by using the same pass pipeline building
|
||||||
/// machinery in IRGen, something not possible with opt.
|
/// machinery in IRGen, something not possible with opt.
|
||||||
///
|
///
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
@@ -72,7 +72,7 @@ using namespace swift;
|
|||||||
// Option Declarations
|
// Option Declarations
|
||||||
//===----------------------------------------------------------------------===//
|
//===----------------------------------------------------------------------===//
|
||||||
|
|
||||||
// The OptimizationList is automatically populated with registered Passes by the
|
// The OptimizationList is automatically populated with registered passes by the
|
||||||
// PassNameParser.
|
// PassNameParser.
|
||||||
//
|
//
|
||||||
static llvm::cl::list<const llvm::PassInfo *, bool, llvm::PassNameParser>
|
static llvm::cl::list<const llvm::PassInfo *, bool, llvm::PassNameParser>
|
||||||
|
|||||||
Reference in New Issue
Block a user