forked from OSchip/llvm-project
Remove unneeded cl::ZeroOrMore. NFC
This commit is contained in:
parent
62a4e6ab15
commit
27abff670b
|
@ -128,7 +128,6 @@ static cl::opt<int> CallPenalty(
|
|||
static cl::opt<size_t>
|
||||
StackSizeThreshold("inline-max-stacksize", cl::Hidden,
|
||||
cl::init(std::numeric_limits<size_t>::max()),
|
||||
cl::ZeroOrMore,
|
||||
cl::desc("Do not inline functions with a stack size "
|
||||
"that exceeds the specified limit"));
|
||||
|
||||
|
|
|
@ -816,7 +816,7 @@ def MyPass : Pass<"my-pass", "ModuleOp"> {
|
|||
Option<"option", "example-option", "bool", /*default=*/"true",
|
||||
"An example option">,
|
||||
ListOption<"listOption", "example-list", "int64_t",
|
||||
"An example list option", "llvm::cl::ZeroOrMore">
|
||||
"An example list option">
|
||||
];
|
||||
|
||||
// Specify any statistics.
|
||||
|
@ -952,7 +952,7 @@ The `ListOption` class takes the following fields:
|
|||
def MyPass : Pass<"my-pass"> {
|
||||
let options = [
|
||||
ListOption<"listOption", "example-list", "int64_t",
|
||||
"An example list option", "llvm::cl::ZeroOrMore">
|
||||
"An example list option">
|
||||
];
|
||||
}
|
||||
```
|
||||
|
|
Loading…
Reference in New Issue