[Lldb-commits] [PATCH] D59587: Use explicit loop instead of map for Python 2/3 compat

Phabricator via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Mar 21 07:45:01 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rL356672: Workaround Python's map difference between Python2/3 (authored by serge_sans_paille, committed by ).
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Changed prior to commit:
  https://reviews.llvm.org/D59587?vs=191449&id=191691#toc

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59587/new/

https://reviews.llvm.org/D59587

Files:
  lldb/trunk/scripts/Xcode/build-llvm.py


Index: lldb/trunk/scripts/Xcode/build-llvm.py
===================================================================
--- lldb/trunk/scripts/Xcode/build-llvm.py
+++ lldb/trunk/scripts/Xcode/build-llvm.py
@@ -239,7 +239,8 @@
 
 
 def all_check_out_if_needed():
-    map(check_out_if_needed, XCODE_REPOSITORIES())
+    for r in XCODE_REPOSITORIES():
+        check_out_if_needed(r)
 
 
 def should_build_llvm():
@@ -263,7 +264,8 @@
 
 
 def setup_source_symlinks():
-    map(setup_source_symlink, XCODE_REPOSITORIES())
+    for r in XCODE_REPOSITORIES():
+        setup_source_symlink(r)
 
 
 def setup_build_symlink():


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D59587.191691.patch
Type: text/x-patch
Size: 614 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20190321/e5b461a3/attachment.bin>


More information about the lldb-commits mailing list