Author: Jonas Devlieghere
Date: 2020-03-12T15:31:09-07:00
New Revision: 2411f56bfd1c36f30239c832b75e094d927ee219

URL: 
https://github.com/llvm/llvm-project/commit/2411f56bfd1c36f30239c832b75e094d927ee219
DIFF: 
https://github.com/llvm/llvm-project/commit/2411f56bfd1c36f30239c832b75e094d927ee219.diff

LOG: [lldb/Host] Fix the Windows build

Update use of ProcessInstanceInfoList which is now a std::vector.

Added: 
    

Modified: 
    lldb/source/Host/windows/Host.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Host/windows/Host.cpp 
b/lldb/source/Host/windows/Host.cpp
index 28e78885519a..29c96560af25 100644
--- a/lldb/source/Host/windows/Host.cpp
+++ b/lldb/source/Host/windows/Host.cpp
@@ -133,7 +133,7 @@ FileSpec Host::GetModuleFileSpecForHostAddress(const void 
*host_addr) {
 
 uint32_t Host::FindProcesses(const ProcessInstanceInfoMatch &match_info,
                              ProcessInstanceInfoList &process_infos) {
-  process_infos.Clear();
+  process_infos.clear();
 
   AutoHandle snapshot(CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0));
   if (!snapshot.IsValid())


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to