serge-sans-paille created this revision. serge-sans-paille added a reviewer: michaelplatings. Herald added subscribers: lldb-commits, jdoerfert. Herald added a project: LLDB.
The output of map is not used, so using a list comprehension or an explicit call to list looks awkward. Repository: rLLDB LLDB https://reviews.llvm.org/D59587 Files: lldb/scripts/Xcode/build-llvm.py Index: lldb/scripts/Xcode/build-llvm.py =================================================================== --- lldb/scripts/Xcode/build-llvm.py +++ lldb/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():
Index: lldb/scripts/Xcode/build-llvm.py =================================================================== --- lldb/scripts/Xcode/build-llvm.py +++ lldb/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():
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits