Skip to content

Commit 27abff6

Browse files
committed
Remove unneeded cl::ZeroOrMore. NFC
1 parent 62a4e6a commit 27abff6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

llvm/lib/Analysis/InlineCost.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ static cl::opt<int> CallPenalty(
128128
static cl::opt<size_t>
129129
StackSizeThreshold("inline-max-stacksize", cl::Hidden,
130130
cl::init(std::numeric_limits<size_t>::max()),
131-
cl::ZeroOrMore,
132131
cl::desc("Do not inline functions with a stack size "
133132
"that exceeds the specified limit"));
134133

mlir/docs/PassManagement.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ def MyPass : Pass<"my-pass", "ModuleOp"> {
816816
Option<"option", "example-option", "bool", /*default=*/"true",
817817
"An example option">,
818818
ListOption<"listOption", "example-list", "int64_t",
819-
"An example list option", "llvm::cl::ZeroOrMore">
819+
"An example list option">
820820
];
821821
822822
// Specify any statistics.
@@ -952,7 +952,7 @@ The `ListOption` class takes the following fields:
952952
def MyPass : Pass<"my-pass"> {
953953
let options = [
954954
ListOption<"listOption", "example-list", "int64_t",
955-
"An example list option", "llvm::cl::ZeroOrMore">
955+
"An example list option">
956956
];
957957
}
958958
```

0 commit comments

Comments
 (0)