Author: teemperor Date: Thu Aug 22 06:50:54 2019 New Revision: 369652 URL: http://llvm.org/viewvc/llvm-project?rev=369652&view=rev Log: [lldb][NFC] Fix indentation in CommandObjectProcess
Modified: lldb/trunk/source/Commands/CommandObjectProcess.cpp Modified: lldb/trunk/source/Commands/CommandObjectProcess.cpp URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Commands/CommandObjectProcess.cpp?rev=369652&r1=369651&r2=369652&view=diff ============================================================================== --- lldb/trunk/source/Commands/CommandObjectProcess.cpp (original) +++ lldb/trunk/source/Commands/CommandObjectProcess.cpp Thu Aug 22 06:50:54 2019 @@ -348,15 +348,15 @@ public: partial_name, FileSpec::Style::native); match_info.SetNameMatchType(NameMatch::StartsWith); } - platform_sp->FindProcesses(match_info, process_infos); - const size_t num_matches = process_infos.GetSize(); - if (num_matches == 0) - return; - for (size_t i = 0; i < num_matches; ++i) { - request.AddCompletion( - llvm::StringRef(process_infos.GetProcessNameAtIndex(i), - process_infos.GetProcessNameLengthAtIndex(i))); - } + platform_sp->FindProcesses(match_info, process_infos); + const size_t num_matches = process_infos.GetSize(); + if (num_matches == 0) + return; + for (size_t i = 0; i < num_matches; ++i) { + request.AddCompletion( + llvm::StringRef(process_infos.GetProcessNameAtIndex(i), + process_infos.GetProcessNameLengthAtIndex(i)))); + } } // Instance variables to hold the values for command options. _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits