diff options
author | Raphael Isemann <teemperor@gmail.com> | 2019-08-22 13:50:54 +0000 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2019-08-22 13:50:54 +0000 |
commit | 00235e1b920e220d813db9b8037e88ed6d59d6f4 (patch) | |
tree | ff776d89d44161309f128e9f4dd743720d7d0abd | |
parent | 545e993b8b0c39c9622924cd6467e3adc9b075a4 (diff) | |
download | llvm-00235e1b920e220d813db9b8037e88ed6d59d6f4.zip llvm-00235e1b920e220d813db9b8037e88ed6d59d6f4.tar.gz llvm-00235e1b920e220d813db9b8037e88ed6d59d6f4.tar.bz2 |
[lldb][NFC] Fix indentation in CommandObjectProcess
llvm-svn: 369652
-rw-r--r-- | lldb/source/Commands/CommandObjectProcess.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/lldb/source/Commands/CommandObjectProcess.cpp b/lldb/source/Commands/CommandObjectProcess.cpp index 866964b..b55a636 100644 --- a/lldb/source/Commands/CommandObjectProcess.cpp +++ b/lldb/source/Commands/CommandObjectProcess.cpp @@ -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. |