Skip to content

Commit 825b711

Browse files
Update llvm/lib/IR/OptBisect.cpp
Co-authored-by: Nikita Popov <[email protected]>
1 parent 6cc429b commit 825b711

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/IR/OptBisect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ static cl::opt<bool> OptBisectVerbose(
4444

4545
static cl::list<std::string> OptDisablePasses(
4646
"opt-disable", cl::Hidden, cl::CommaSeparated, cl::Optional,
47-
cl::cb<void, std::string>([](std::string Pass) {
47+
cl::cb<void, std::string>([](const std::string &Pass) {
4848
getOptDisabler().setDisabled(Pass);
4949
}),
5050
cl::desc("Optimization pass(es) to disable (comma-separated list)"));

0 commit comments

Comments
 (0)