Skip to content

Commit 1893a37

Browse files
committed
Apply clang-tidy fixes for performance-unnecessary-value-param in FileLineColLocBreakpointManagerTest.cpp (NFC)
1 parent dd5696c commit 1893a37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/unittests/Debug/FileLineColLocBreakpointManagerTest.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ TEST(FileLineColLocBreakpointManager, OperationMatch) {
9898
// Set a breakpoint matching only the second operation in the list.
9999
auto *breakpoint = breakpointManager.addBreakpoint(
100100
fileNames[0], lineColLoc[0].first, lineColLoc[0].second);
101-
auto checkMatchIdxs = [&](DenseSet<int> idxs) {
101+
auto checkMatchIdxs = [&](const DenseSet<int> &idxs) {
102102
counter = 0;
103103
int reference = 0;
104104
for (int i = 0; i < (int)operations.size(); ++i) {

0 commit comments

Comments
 (0)