Skip to content
This repository was archived by the owner on Apr 2, 2020. It is now read-only.

Commit e3089ae

Browse files
committed
Merge remote-tracking branch 'llvm/master' into upstream-with-swift
2 parents 0ccd00f + f59593b commit e3089ae

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

source/Commands/CommandObjectProcess.cpp

+9-9
Original file line numberDiff line numberDiff line change
@@ -348,15 +348,15 @@ class CommandObjectProcessAttach : public CommandObjectProcessLaunchOrAttach {
348348
partial_name, FileSpec::Style::native);
349349
match_info.SetNameMatchType(NameMatch::StartsWith);
350350
}
351-
platform_sp->FindProcesses(match_info, process_infos);
352-
const size_t num_matches = process_infos.GetSize();
353-
if (num_matches == 0)
354-
return;
355-
for (size_t i = 0; i < num_matches; ++i) {
356-
request.AddCompletion(
357-
llvm::StringRef(process_infos.GetProcessNameAtIndex(i),
358-
process_infos.GetProcessNameLengthAtIndex(i)));
359-
}
351+
platform_sp->FindProcesses(match_info, process_infos);
352+
const size_t num_matches = process_infos.GetSize();
353+
if (num_matches == 0)
354+
return;
355+
for (size_t i = 0; i < num_matches; ++i) {
356+
request.AddCompletion(
357+
llvm::StringRef(process_infos.GetProcessNameAtIndex(i),
358+
process_infos.GetProcessNameLengthAtIndex(i))));
359+
}
360360
}
361361

362362
// Instance variables to hold the values for command options.

0 commit comments

Comments
 (0)