python3-shebang
authorLLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Thu, 19 Mar 2020 08:50:20 +0000 (08:50 +0000)
committerGianfranco Costamagna <locutusofborg@debian.org>
Thu, 19 Mar 2020 08:50:20 +0000 (08:50 +0000)
Gbp-Pq: Name python3-shebang.patch

184 files changed:
clang-tools-extra/clang-tidy/add_new_check.py
clang-tools-extra/clang-tidy/rename_check.py
clang-tools-extra/clang-tidy/tool/clang-tidy-diff.py
clang-tools-extra/clang-tidy/tool/run-clang-tidy.py
clang-tools-extra/include-fixer/find-all-symbols/tool/run-find-all-symbols.py
clang-tools-extra/test/clang-tidy/check_clang_tidy.py
clang/bindings/python/examples/cindex/cindex-dump.py
clang/bindings/python/examples/cindex/cindex-includes.py
clang/docs/tools/dump_ast_matchers.py
clang/docs/tools/dump_format_style.py
clang/tools/clang-format/clang-format-diff.py
clang/tools/clang-format/git-clang-format
clang/tools/scan-build-py/bin/analyze-build
clang/tools/scan-build-py/bin/analyze-c++
clang/tools/scan-build-py/bin/analyze-cc
clang/tools/scan-build-py/bin/intercept-build
clang/tools/scan-build-py/bin/intercept-c++
clang/tools/scan-build-py/bin/intercept-cc
clang/tools/scan-build-py/bin/scan-build
clang/tools/scan-view/bin/scan-view
clang/tools/scan-view/share/Reporter.py
clang/tools/scan-view/share/startfile.py
clang/utils/ABITest/ABITestGen.py
clang/utils/CIndex/completion_logger_server.py
clang/utils/CaptureCmd
clang/utils/CmpDriver
clang/utils/FindSpecRefs
clang/utils/FuzzTest
clang/utils/TestUtils/deep-stack.py
clang/utils/analyzer/CmpRuns.py
clang/utils/analyzer/SATestAdd.py
clang/utils/analyzer/SATestBuild.py
clang/utils/analyzer/SATestUpdateDiffs.py
clang/utils/analyzer/SumTimerInfo.py
clang/utils/check_cfc/check_cfc.py
clang/utils/check_cfc/obj_diff.py
clang/utils/check_cfc/test_check_cfc.py
clang/utils/hmaptool/hmaptool
clang/utils/modfuzz.py
clang/utils/token-delta.py
clang/www/builtins.py
clang/www/make_cxx_dr_status
compiler-rt/lib/asan/scripts/asan_symbolize.py
compiler-rt/lib/dfsan/scripts/build-libc-list.py
compiler-rt/lib/fuzzer/scripts/collect_data_flow.py
compiler-rt/lib/fuzzer/scripts/merge_data_flow.py
compiler-rt/lib/fuzzer/scripts/unbalanced_allocs.py
compiler-rt/lib/sanitizer_common/scripts/cpplint.py
compiler-rt/lib/sanitizer_common/scripts/gen_dynamic_list.py
compiler-rt/lib/sanitizer_common/scripts/litlint.py
compiler-rt/lib/sanitizer_common/scripts/sancov.py
examples/Kaleidoscope/MCJIT/cached/genk-timing.py
examples/Kaleidoscope/MCJIT/cached/split-lib.py
examples/Kaleidoscope/MCJIT/complete/genk-timing.py
examples/Kaleidoscope/MCJIT/complete/split-lib.py
examples/Kaleidoscope/MCJIT/lazy/genk-timing.py
libcxx/test/std/language.support/support.limits/support.limits.general/generate_feature_test_macro_components.py
libcxx/utils/cat_files.py
libcxx/utils/gen_link_script.py
libcxx/utils/google-benchmark/mingw.py
libcxx/utils/google-benchmark/tools/compare.py
libcxx/utils/google-benchmark/tools/strip_asm.py
libcxx/utils/merge_archives.py
libcxx/utils/sym_diff.py
libcxx/utils/sym_extract.py
libcxx/utils/sym_match.py
lld/utils/benchmark.py
lldb/examples/python/file_extract.py
lldb/lit/helper/build.py
lldb/lldb.xcodeproj/project.pbxproj
lldb/packages/Python/lldbsuite/test/attic/tester.py
lldb/packages/Python/lldbsuite/test/bench.py
lldb/packages/Python/lldbsuite/test/issue_verification/disable.py
lldb/packages/Python/lldbsuite/test/issue_verification/enable.py
lldb/packages/Python/lldbsuite/test/redo.py
lldb/packages/Python/lldbsuite/test/test_runner/test/inferior.py
lldb/packages/Python/lldbsuite/test/test_runner/test/test_process_control.py
lldb/packages/Python/lldbsuite/test/tools/lldb-vscode/vscode.py
lldb/packages/Python/lldbsuite/test_event/test/src/TestCatchInvalidDecorator.py
lldb/scripts/Python/finish-swig-Python-LLDB.sh
lldb/scripts/Xcode/build-llvm.py
lldb/scripts/Xcode/package-clang-headers.py
lldb/scripts/analyze-project-deps.py
lldb/scripts/buildbot.py
lldb/scripts/prepare_bindings.py
lldb/scripts/shush
lldb/scripts/swig_bot.py
lldb/scripts/swig_bot_lib/client.py
lldb/scripts/swig_bot_lib/local.py
lldb/scripts/swig_bot_lib/remote.py
lldb/scripts/swig_bot_lib/server.py
lldb/scripts/verify_api.py
lldb/test/dotest.py
lldb/third_party/Python/module/pexpect-2.4/FSM.py
lldb/third_party/Python/module/pexpect-2.4/examples/astat.py
lldb/third_party/Python/module/pexpect-2.4/examples/bd_client.py
lldb/third_party/Python/module/pexpect-2.4/examples/bd_serv.py
lldb/third_party/Python/module/pexpect-2.4/examples/cgishell.cgi
lldb/third_party/Python/module/pexpect-2.4/examples/chess.py
lldb/third_party/Python/module/pexpect-2.4/examples/chess2.py
lldb/third_party/Python/module/pexpect-2.4/examples/chess3.py
lldb/third_party/Python/module/pexpect-2.4/examples/df.py
lldb/third_party/Python/module/pexpect-2.4/examples/fix_cvs_files.py
lldb/third_party/Python/module/pexpect-2.4/examples/ftp.py
lldb/third_party/Python/module/pexpect-2.4/examples/hive.py
lldb/third_party/Python/module/pexpect-2.4/examples/monitor.py
lldb/third_party/Python/module/pexpect-2.4/examples/passmass.py
lldb/third_party/Python/module/pexpect-2.4/examples/python.py
lldb/third_party/Python/module/pexpect-2.4/examples/rippy.py
lldb/third_party/Python/module/pexpect-2.4/examples/script.py
lldb/third_party/Python/module/pexpect-2.4/examples/ssh_tunnel.py
lldb/third_party/Python/module/pexpect-2.4/examples/sshls.py
lldb/third_party/Python/module/pexpect-2.4/examples/topip.py
lldb/third_party/Python/module/pexpect-2.4/examples/uptime.py
lldb/utils/git-svn/convert.py
lldb/utils/lldb-dotest/lldb-dotest.in
lldb/utils/lui/lui.py
lldb/utils/lui/sandbox.py
lldb/utils/misc/grep-svn-log.py
lldb/utils/sync-source/syncsource.py
lldb/utils/test/disasm.py
lldb/utils/test/lldb-disasm.py
lldb/utils/test/llvm-mc-shell.py
lldb/utils/test/ras.py
lldb/utils/test/run-dis.py
lldb/utils/test/run-until-faulted.py
test/BugPoint/compile-custom.ll.py
test/Other/opt-bisect-helper.py
test/TableGen/JSON-check.py
test/tools/llvm-readobj/Inputs/relocs.py
tools/opt-viewer/opt-diff.py
tools/opt-viewer/opt-stats.py
tools/opt-viewer/opt-viewer.py
tools/opt-viewer/optrecord.py
utils/Misc/zkill
utils/Reviewing/find_interesting_reviews.py
utils/Target/ARM/analyze-match-table.py
utils/abtest.py
utils/benchmark/mingw.py
utils/benchmark/tools/compare.py
utils/benchmark/tools/strip_asm.py
utils/bisect
utils/bisect-skip-count
utils/bugpoint_gisel_reducer.py
utils/clang-parse-diagnostics-file
utils/create_ladder_graph.py
utils/extract_symbols.py
utils/extract_vplan.py
utils/git-svn/git-llvm
utils/gn/build/run_tablegen.py
utils/gn/build/symlink_or_copy.py
utils/gn/build/sync_source_lists_from_cmake.py
utils/gn/build/write_cmake_config.py
utils/gn/build/write_vcsrevision.py
utils/gn/gn.py
utils/indirect_calls.py
utils/lit/lit.py
utils/lit/lit/ProgressBar.py
utils/lit/lit/main.py
utils/lit/tests/Inputs/googletest-format/DummySubDir/OneTest.py
utils/lit/tests/Inputs/googletest-timeout/DummySubDir/OneTest.py
utils/lit/tests/Inputs/googletest-upstream-format/DummySubDir/OneTest.py
utils/lit/tests/Inputs/shtest-env/print_environment.py
utils/lit/tests/Inputs/shtest-format/external_shell/write-bad-encoding.py
utils/lit/tests/Inputs/shtest-shell/check_args.py
utils/lit/tests/Inputs/shtest-shell/check_path.py
utils/lit/tests/Inputs/shtest-shell/write-to-stderr.py
utils/lit/tests/Inputs/shtest-shell/write-to-stdout-and-stderr.py
utils/llvm-build/llvm-build
utils/llvm-gisel-cov.py
utils/llvm-lit/llvm-lit.in
utils/prepare-code-coverage-artifact.py
utils/release/findRegressions-nightly.py
utils/release/findRegressions-simple.py
utils/shuffle_fuzz.py
utils/shuffle_select_fuzz_tester.py
utils/sort_includes.py
utils/unicode-case-fold.py
utils/update_analyze_test_checks.py
utils/update_llc_test_checks.py
utils/update_mca_test_checks.py
utils/update_mir_test_checks.py
utils/update_test_checks.py
utils/wciia.py

index f4c518d085f0380a5aa5b53a1fc0c8ebee0c0bb8..0e17e79ae1039492126bf4c018fc2ac21a26b49c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- add_new_check.py - clang-tidy check generator ----------*- python -*--===#
 #
index 53a5ff921ab6733d456bc85005f0795452014241..3d1c8236d8fa63d264e2d1f3d563a349a728aed7 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- rename_check.py - clang-tidy check renamer -------------*- python -*--===#
 #
index 5eb2e3d656da540d3aca21879708ab91954edd33..ef07b1e76254d24e71bc0a94d2ef94a295a26148 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- clang-tidy-diff.py - ClangTidy Diff Checker ------------*- python -*--===#
 #
index ef41c7937e86dcdb141f47d2284361fc7d31ab5b..fdb8ab74d68ae27e2e52feef352979e9cb0cc5ba 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- run-clang-tidy.py - Parallel clang-tidy runner ---------*- python -*--===#
 #
index 461d959bd2f1d87c448153265322e36da5273938..61f42952af55e9927aec15c23f994d0b112f9816 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #=- run-find-all-symbols.py - Parallel find-all-symbols runner -*- python  -*-=#
 #
index 9768011a3efd5480b39857c4baa854fdbe01679c..4c883ece594ad3f60d563a37096b05b23e8f1b71 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- check_clang_tidy.py - ClangTidy Test Helper ------------*- python -*--===#
 #
index acec7e0e00544ad1c7d001e6aa4d49824e1de511..24ef4211fab62b63a260cc9b346b67f67a3b0cb8 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #===- cindex-dump.py - cindex/Python Source Dump -------------*- python -*--===#
 #
index 17500227a349b14bfdae7e4fbeb2d387245826c0..2dafd717b63e66e7fcc538ce021aadff52d78252 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 #===- cindex-includes.py - cindex/Python Inclusion Graph -----*- python -*--===#
 #
index c96c1ca27acb67d2e148488924ec698011eaedb9..26cf41561e6933a2a2c8e4aa7bc5a711d0be7776 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # A tool to parse ASTMatchers.h and update the documentation in
 # ../LibASTMatchersReference.html automatically. Run from the
 # directory in which this file is located to update the docs.
index 5feb793a4d705178790a7f2d079a235a27c1b5ca..e18a2ffb3972e61c60ed7d8f49db55469500acc1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # A tool to parse the FormatStyle struct from Format.h and update the
 # documentation in ../ClangFormatStyleOptions.rst automatically.
 # Run from the directory in which this file is located to update the docs.
index 8277a24770879ad2588e26098900ed8ddce9633c..3589b41b3f8593c8c291cc29db1368e654eb1b35 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- clang-format-diff.py - ClangFormat Diff Reformatter ----*- python -*--===#
 #
index 96e3b4e8a2c11a9ae5758471dfd202c46674d05e..86f468b34fe76a91826651b44363685b77df4098 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- git-clang-format - ClangFormat Git Integration ---------*- python -*--===#
 #
index 991cff0658f29c8faeb0472d78b16c10318a6a50..ffaf79d9c3c116465453a550d35783e1ed5deca5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #                     The LLVM Compiler Infrastructure
 #
index df1012dee57e272bfb44d767db14d433436b3efc..568683ea4732e0905c5331186a98b8740150f740 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #                     The LLVM Compiler Infrastructure
 #
index df1012dee57e272bfb44d767db14d433436b3efc..568683ea4732e0905c5331186a98b8740150f740 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #                     The LLVM Compiler Infrastructure
 #
index 2c3a26ecdddc1307b7e809e54ca70b8da379530c..675c6e9b891431c2d61cabf31189554de431b43c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #                     The LLVM Compiler Infrastructure
 #
index 67e076f39e4b9ba7588fba794f30b62c42c3314b..9fdde1241bf349a9d88cb8d85b7ce499c9aea902 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #                     The LLVM Compiler Infrastructure
 #
index 67e076f39e4b9ba7588fba794f30b62c42c3314b..9fdde1241bf349a9d88cb8d85b7ce499c9aea902 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #                     The LLVM Compiler Infrastructure
 #
index f0f34695b0f1e42f9108a827588bac9f99530ed6..b5876d8bffc40bdb1cdf2498ac33e10d33981c4b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 #                     The LLVM Compiler Infrastructure
 #
index 98787b683063e149fce759c41b5e0c44f1662701..10b0a2281139a2b5873b67ebf5fafe375b994f41 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index b1ff16142e279cb480d1f2f73f8b211ca7970e1a..d6300e7876165e30d0588987b087ce67bc1d0ae5 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 """Methods for reporting bugs."""
index 9eb548bc4329beef098652a93b6f7aff868b8ccd..cdf3db27939ab8e494e08a41ec0122d3f5a02ab8 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 """Utility for opening a file using the default application in a cross-platform
index 93a6de93068d466b33174f58e6d343c7e11c2d9a..efb35fa73dcb6a85554387db9af678d74bbf8f5f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import absolute_import, division, print_function
 from pprint import pprint
index 201667117fc2f96976d25b872915d990657f8472..02d7cd6fc8853ea7587eb183bb31111f288d7b35 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from __future__ import absolute_import, division, print_function
 import sys
 from socket import *
index 705585c3bb041fd14c3b0c446c7fe2a86748022a..5ffdfe560edf0a3315825bc24d314e14709402ff 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """CaptureCmd - A generic tool for capturing information about the
 invocations of another program.
index 12ce7a3250f66b71d0c01b72cd58d2009b84c6ab..c2b6ab5ecb1aa51698ab029f0b3d52741da5e780 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 A simple utility that compares tool invocations and exit codes issued by
index 9097f93f28d631ddc418ecbddb2af82285aa91a4..3ad581b3dd7d1f9c28947ed49f7b62169fba889a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import os
 import re
index 0e043df7cf08e4e88d3e5f5fcce7835b59b73f26..c4c956b6eb501dd6f916766624e947e0b40e5b85 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 This is a generic fuzz testing tool, see --help for more information.
index 10bf47acb1f777a5b048402d7447a0e7b7b94c79..5fb8d0df8ed15b927d15ba65827667ff32817816 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import absolute_import, division, print_function
 def pcall(f, N):
index be503499622d18ebbe4e684cf43fc030302c4d53..a6fbfecfb4cf725e7b975f35590a6d8d151461fc 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 CmpRuns - A simple tool for comparing two static analyzer runs to determine
index 52089f4e0660e5bbe271e9ea264b54b3193bf844..d087a90ba73572a2e28402231944c8c47d22d687 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Static Analyzer qualification infrastructure: adding a new project to
index 1c96cd88381821817ce9729ea2a27d12740e256d..65564ec08f598893ca0da10a7124272a4d3339ce 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Static Analyzer qualification infrastructure.
index ea3c08cc210c423192081dc2b06bcb7b94ada4c8..08e3f82ffd1e0bafe2490e0437e8dceb138de741 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Update reference results for static analyzer.
index 36e519adbf71c482c7174ee101a94b3a07bda8ed..d1934f19d03936318b10620ac0824e5ab57306ca 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Script to Summarize statistics in the scan-build output.
index 311f502f800b3ce24e9c013893bbfeb113da47b3..0bbbc0886fab9a2b386666f515f1d4c76a6d5239 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Check CFC - Check Compile Flow Consistency
 
index a0951c5bcdee48989d9e55fa21e12d8ca233c32d..b3866948302765f8c94213da13fc77ccfe5802ab 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import absolute_import, division, print_function
 
index 0808252a2c60c1244d400b1d13b605fec1ff2dd0..6f149ebcc7a41e57f3aa9a2024f99d84a04b4562 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Test internal functions within check_cfc.py."""
 
index 58baab2f7746c19a524d843843b1e813bbc1bc0a..00296f11a169756b86243fd609e05dd7633ccfaa 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from __future__ import absolute_import, division, print_function
 
 import json
index 61ca3272aca561c04b27d982fb94ba8791f6e81b..19a9807b351445d61ed288fb9b3480f05edea80c 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 # To use:
 #  1) Update the 'decls' list below with your fuzzing configuration.
index 62b4eb3c776c374d634a8ab977a4aa0b787b6b01..022fb2f8b58f976b5544cf4b1d6b21dce237a014 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import absolute_import, division, print_function
 import os
index f0bcf1962abb78fdea3da8f4a4b33b83f5aa1601..54901487d1ab1f2a6e3ba4f6be3cccf5cb88bbf5 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys, fileinput
 
index bc7efcf7ff1843fe812c1a545a0fb2d1097cabdc..c368f2ff02d49cf4831ecda93d1d0eee7d19696b 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 import sys, os, re
 
 index = 'cwg_index.html'
index 2dbb05283c1e7716e4c3789533de6a0217e0f286..b15b816945bcf8e086fe0d9313a7d2848989cf6b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- lib/asan/scripts/asan_symbolize.py -----------------------------------===#
 #
 #                     The LLVM Compiler Infrastructure
index eddb6c07e99d8f54e63a9d04dda52288f8d65c92..a57a862bbb9bdaf8b140e492c9f34b0b32e245ac 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- lib/dfsan/scripts/build-libc-list.py ---------------------------------===#
 #
 #                     The LLVM Compiler Infrastructure
index 3edff66bb9d16f1f600a8d0c24ab07e930ad1b38..e86141453520d5d0ef56d0aa7b35bb392ac694b6 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- lib/fuzzer/scripts/collect_data_flow.py ------------------------------===#
 #
 #                     The LLVM Compiler Infrastructure
index d2f5081e7b8cc797d31539e52b0b13fca43ed1f9..c26e3259b08e007719abbdf5350d49690c3b941b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- lib/fuzzer/scripts/merge_data_flow.py ------------------------------===#
 #
 #                     The LLVM Compiler Infrastructure
index 74478ad55af0c88eeb247eea4f8d2a73464ef558..1068eab6975d9d08351b2a255ec16b7ec3adb42a 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- lib/fuzzer/scripts/unbalanced_allocs.py ------------------------------===#
 #
 #                     The LLVM Compiler Infrastructure
index d45c47f7ed0cd3e3bb917ccbb9a3cb971186a7a0..94826614560a655690e4d25a1fc0c6088ecce79b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Copyright (c) 2009 Google Inc. All rights reserved.
 #
index 4a9c7af9554800edb8629d3dbe84286ff30d5121..97a6bdeba0dd7b020d41ea62de0f6eb127ac1636 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===- lib/sanitizer_common/scripts/gen_dynamic_list.py ---------------------===#
 #
 #                     The LLVM Compiler Infrastructure
index 81b89c21443813149df6c278038d8b40b23cdf8c..dd8d3aba06c7df7e0859fe63631231b9a0774d00 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # litlint
 #
index 35606396b78e6f716e5484558d4f2d7c87b6c514..2a2876d461f0a703ebe23143622946f270679c32 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # Merge or print the coverage data collected by asan's coverage.
 # Input files are sequences of 4-byte integers.
 # We need to merge these integers into a set and then
index 87bbfbf32bda3ab7e1956c3d50927c362da3faed..a6dd73e0ad44e136f3c02124acc0817c5c03f57c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 1aa80ee83ac4ca852a9dbaa1a0a5abe514636d00..bf1ca576fe4c461f7efea581413185f1dba95af9 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index c3b4d23c002a15aee89144fbd69300fc4f0002cc..8c00172152ba3276e25ddb4ce7afad2d95b524df 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 61c9a5b169fcd86221837e5ebd73d700206230dd..08450018c02e62c90d9c36d5558d2a38dc08622d 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 87bbfbf32bda3ab7e1956c3d50927c362da3faed..a6dd73e0ad44e136f3c02124acc0817c5c03f57c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 83e7632f34ac01d14e10977446fc837e3d432730..f84b692a519106bb131bee1db37199d700acbcd9 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===----------------------------------------------------------------------===##
 #
 #                     The LLVM Compiler Infrastructure
index 24fe5ce9904ef248863fd3e1683886c60c00b8f6..e744ae2001041b27a85e89200e8860ed34ed2ed8 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===----------------------------------------------------------------------===##
 #
 #                     The LLVM Compiler Infrastructure
index 706ad559db9c753fe02d24077600875684eb7682..4eb75ab864298a8ef8d212d5821977c1620bf727 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # encoding: utf-8
 
 import argparse
index 539ace6fb163b730eb0eccf1922a5d8e6c50a3ba..b1c0dedefa4ad152353d609a7801e635dabda645 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import unittest
 """
index 9030550b43bece88d41bac337e26004a109232d5..d131dc719414c45e10577570de5d3b41656a8fc3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 strip_asm.py - Cleanup ASM output for the specified file
index 58d92f0e21e1e15cdcf01b641ceaa00be4280a7c..0f5d6eb64d5c3fc12db19f289215f4c55f1c9c65 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===----------------------------------------------------------------------===##
 #
 #                     The LLVM Compiler Infrastructure
index c01f71c928d9fef5f78f676c7d690870d0168a49..ef81af8192ab1ab53dfa3987d8742e97804dd636 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===----------------------------------------------------------------------===##
 #
 #                     The LLVM Compiler Infrastructure
index 0d9d2eeb8e5ae4bc0a934176f62917d19e521a68..c911b2ff328103e83aeb69c7016c6e5b2d12e954 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===----------------------------------------------------------------------===##
 #
 #                     The LLVM Compiler Infrastructure
index 48582ce666729dcb8057332b3b1610463237a0bf..0724a6d8dcd6e190444a6c4e88a56743ce74e152 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #===----------------------------------------------------------------------===##
 #
 #                     The LLVM Compiler Infrastructure
index f1deb0647a15a78e153a5c295ef18c315dcdcbd1..fbf15db3008620d6ff7a16250a6fac49e69526ee 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #                     The LLVM Compiler Infrastructure
 #
index 7a617e9110687a8adb8d38557c87072caa2b9b9c..61e93c8c40cf173305bc764ef529b3ad245ccc5f 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 import string
 import struct
index fd52b7db4b8696c2d9e4b39841234f0e025e21cb..8029b4796534a4d3913afeeca30d42154cfd5291 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 from __future__ import print_function
 
index b2ab9696a3aa922bf926acdd96c7800a694bbe62..09a61735013eee06871d7f2c2b3f03934fb8f754 100644 (file)
                        );
                        runOnlyForDeploymentPostprocessing = 0;
                        shellPath = /bin/sh;
-                       shellScript = "/usr/bin/env python -u $SRCROOT/scripts/Xcode/build-llvm.py\n";
+                       shellScript = "/usr/bin/env python3 -u $SRCROOT/scripts/Xcode/build-llvm.py\n";
                };
                26DC6A5813380D4300FF7998 /* Prepare Swig Bindings */ = {
                        isa = PBXShellScriptBuildPhase;
index 2e783512369d48f055f2956c8c78e17823e8fa4f..6140e1e555a52b6f15d0ae9c31d4127a3a54c974 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf8 -*-
 
 from __future__ import print_function
index 41d44bad987ef54f73850ebb48a6e6a596117d68..4cda5694a54958aa3f9b438f37efdc4b21f6eb51 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 A simple bench runner which delegates to the ./dotest.py test driver to run the
index 6d1f93e8b15dd83a9fcce2061b27e8918bf695f7..c775474a95dc26e240cdcb5b6f1e54518641d959 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Renames *.py files to *.py.park."""
 import os
 import sys
index eb19276de1f7a8c260a3ceb42e702cd1364ca5b9..2b4eaefc3d494c498ce45cb4632fe836c75ceedd 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Renames *.py.park files to *.py."""
 import os
 import sys
index 03052c3a08caf6941d5777eff68b434a31653f9c..642a5c2af87db2832f19e2711fda6d67494d1128 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 A simple utility to redo the failed/errored tests.
index 4207bac300fdb26d9d4062c2ccde766572528770..8d9639c4abd15b1854fb4f58bae46aa2b0959381 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Inferior program used by process control tests."""
 
 from __future__ import print_function
index 88ad961be2b9cd2ff22e5d6fd58dfd475e803518..ce952d708d844e92011e478a8e999097532f6fb6 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
 The LLVM Compiler Infrastructure
 
index 066158d0877fb259bced50727ca16bbcfc0c33cb..fdca8dbc6c6a9a4581b1c9589a7fa6425469639b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import binascii
 import json
index 5b199defc5df34fb1b8e11d42b89ad26d14ef36c..b24ce74973f0d03468dfacecfb6868fc9194ad96 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
 Tests that the event system reports issues during decorator
 handling as errors.
index 31bc2b349dafdeca5badbe20b10372c9f2b5eda7..1dcad75e0cde08bd4933d0ac78266552d5b8113b 100755 (executable)
@@ -55,7 +55,7 @@ else
 fi
 
 OS_NAME=`uname -s`
-PYTHON=${PYTHON_EXECUTABLE:-/usr/bin/env python}
+PYTHON=${PYTHON_EXECUTABLE:-/usr/bin/env python3}
 PYTHON_VERSION=`${PYTHON} --version 2>&1 | sed -e 's,Python ,,' -e 's,[.][0-9],,2' -e 's,[a-z][a-z][0-9],,'`
 
 
index 4d868de6b1099a760733e04bb8bb088f7c7a1135..e3777bf446f8f883ffc6c51fa6a3796fce8e69d1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import errno
 import hashlib
index 32f84bc0894b25d3ffb32677c391be3e62010a07..b34563bec4ab76d9fb202ba910e4b605f8953c12 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 # package-clang-headers.py
 #
index b7f6e6803d02d9d635b44e206aff939ef900e6b3..83b44cbc53260952f6aae6467253ea2e99e00e37 100755 (executable)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 
 import argparse
 import itertools
index 29c383c306fda38b344afa225c316b5b3664f59e..5a6afafa354cba4a5990192be1f0b3622fe880ae 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import argparse
 import os
index 6d70f5bf421ba2dd9d7126e32579f3ddbb537fb0..d6caead021b6eb32ee0d79eaa0056922328c956b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
                      The LLVM Compiler Infrastructure
 
index a2dd6c8c58d02d5ff6c195757b17501977252d79..f49d00cd1e68ee93d5fc94a3540cefb8482bc2d2 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 import subprocess
index 888fc10116b8960be03776c639295c19b0a875ca..c261454a392d721a6d65400df40617924800ab58 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 SWIG generation top-level script.  Supports both local and remote generation
index d9f0fb47e016613923fca2e1d3077fc6e1e1f8fa..5f8d6add895d7ece0810926ecc0166cf8f0c96c7 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 SWIG generation client.  Supports both local and remote generation of SWIG
index b26ea2f53ead833e547e7b59ad2db1dc09fa7e0d..a84c23d5652fce8171e14b7f1278fc307ccb7bb8 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Shared functionality used by `client` and `server` when generating or preparing
index 712a5e2a51e73ba82fe26cadb4444a7f3f4fa7a9..8970c72d96edc4383ad7b88ab7f92922468a424b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Shared functionality used by `client` and `server` when dealing with
index 57fb8d9db4e9de3a9f44d20e846b7de563cfdfe1..58a9927fde66a1957c0e54d841fd5b8669a79e40 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 SWIG generation server.  Listens for connections from swig generation clients
index 630247d93316aa282d5e9bcd394e1dcbc761c0bd..b5b887f65905eb7ce4372f5e2c2b563ad8e99035 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import commands
 import optparse
index 1f9d52354f52bce8878cf8cf2e60643813c97ead..30e953e8b684caa2b2684b24be7a9c2567b10487 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 if __name__ == "__main__":
     import use_lldb_suite
index 420afb748f12949f13da4a79798223e516fe2a2c..de7130373fd6ba71d0fd9764e1993cd8c7ac1d78 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """This module implements a Finite State Machine (FSM). In addition to state
 this FSM also maintains a user defined "memory". So this FSM can be used as a
index a5d1b3514bc27e87a8172a540227aaef4320472a..9bf5cfd0df8ab2a3d0db95faa54716883f316e93 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """This runs Apache Status on the remote host and returns the number of requests per second.
 
index a941bc9355529c6825855dedcfe0f880a2d5f2d2..7c94d4a7fb4de4bf00602fa459f96472875f325e 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """This is a very simple client for the backdoor daemon. This is intended more
 for testing rather than normal use. See bd_serv.py """
index aa6a9ddb2c3f757e36bdd9ab0b82756ed1718be6..60a44f0633a4acde4e2f0e82862fe14cec33a7ed 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Back door shell server
 
index 1e3affc1cab62d23a37462d5b620e8523e414ca8..9674b1eec7784ae8824347d61ca0c1c217490d32 100644 (file)
@@ -1,5 +1,5 @@
 #!/usr/bin/python
-##!/usr/bin/env python
+##!/usr/bin/env python3
 """CGI shell server
 
 This exposes a shell terminal on a web page.
index 2e785182bd415abc19fced1ff65e7be2779529cc..9a1da357ba953385c2736104ff7fd2c431ae6df6 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''This demonstrates controlling a screen oriented application (curses).
 It starts two instances of gnuchess and then pits them against each other.
index c75b6d8493fa81d0fa80e039a0de066ef4a99b65..c1fc62c078e4edbd5fd728f37289e9a0138854e2 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''This demonstrates controlling a screen oriented application (curses).
 It starts two instances of gnuchess and then pits them against each other.
index 2fa7fb62722d22ac328630a87b3f56eb0795d70b..efc27ad7de695eb503217327384d5afa4be805bb 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 '''This demonstrates controlling a screen oriented application (curses).
 It starts two instances of gnuchess and then pits them against each other.
index e6c06a8fb13e047bd700a2affbc76dbbc4af7138..65374ffca58f047febcf1a73c72cda5059f8c948 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """This collects filesystem capacity info using the 'df' command. Tuples of
 filesystem name and percentage are stored in a list. A simple report is
index 6fecf7cfbbe559f23a4e21f0389118910f978480..11415e3e576dc71eb1afbc74ea2d0c6e9d62a675 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """This is for cleaning up binary files improperly added to CVS. This script
 scans the given path to find binary files; checks with CVS to see if the sticky
index c859632709bd8f8eee0257dcd381e41755ab2fea..5ca8069bcb8912b8f5b110616e1f7c5143d72084 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """This demonstrates an FTP "bookmark". This connects to an ftp site; does a
 few ftp stuff; and then gives the user interactive control over the session. In
index d2b13d4f081a1acb004cda2b7ece227b5e4318a7..f9b55222690dc65205f44fbdb437f5d10745c7a0 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """hive -- Hive Shell
 
index 6ed6589d6707180484f8728eab8ab0ce2698dacc..073dc797fb34261ec8384f1df688ff67d049e311 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """ This runs a sequence of commands on a remote host using SSH. It runs a
 simple system checks such as uptime and free to monitor the state of the remote
index 3d129b67d7762b63228da0904c790994bea7e15c..84fbbc62824faf7f8df8bbfe814cc8f49b7bd213 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Change passwords on the named machines. passmass host1 host2 host3 . . .
 Note that login shell prompt on remote machine must end in # or $. """
index e7ef462ba6805c8c8e9eddd84578b8cc1440e158..aae53c8441609c2877ff21da5e345485c2f17c1e 100644 (file)
@@ -1,13 +1,13 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """This starts the python interpreter; captures the startup message; then gives
 the user interactive control over the session. Why? For fun... """
 
 # Don't do this unless you like being John Malkovich
-# c = pexpect.spawn ('/usr/bin/env python ./python.py')
+# c = pexpect.spawn ('/usr/bin/env python3 ./python.py')
 
 import pexpect
-c = pexpect.spawn('/usr/bin/env python')
+c = pexpect.spawn('/usr/bin/env python3')
 c.expect('>>>')
 print 'And now for something completely different...'
 f = lambda s: s and f(s[1:]) + s[0]  # Makes a function to reverse a string.
index 8967821b1fe2560c4bd9cb32537648479eaecd57..2debc9299fdaaf8d6e77a84c2f578e246d23a583 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Rippy!
 
index 41e2ea814289d9a15048b8f0d11a0dee47a8d47f..9079fc70d1d8f9e1ae1d26acf452b5f7d9f4d4aa 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """This spawns a sub-shell (bash) and gives the user interactive control. The
 entire shell session is logged to a file called script.log. This behaves much
index ae1ce46faeeba818fa36e77a413915ef92bd33f3..e50330869ca1a448cfbb9c75f856f4d52c0ba1ae 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """This starts an SSH tunnel to a given host. If the SSH process ever dies then
 this script will detect that and restart it. I use this under Cygwin to keep
index 8e4909ac48c8555a785ce33b4401f73c820de750..3d9a22af0d64e281793b72b2aa34a32b010bc044 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """This runs 'ls -l' on a remote host using SSH. At the prompts enter hostname,
 user, and password.
index 498f9a3b5167c8eb92703f017fb07c5d92e9f538..d393e7106edd3eda17ac99df971fc0066313dcdc 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """ This runs netstat on a local or remote server. It calculates some simple
 statistical information on the number of external inet connections. It groups
index 65cfc6cd71108204d44e267756a08115dd771772..fcf8fcdc0a61d1bbc9fd7043d3f9f6fbfdbaa2aa 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """This displays uptime information using uptime. This is redundant,
 but it demonstrates expecting for a regular expression that uses subgroups.
index 589522c78b3c29aad29e972f776ec6a6bf95debb..e9af3b9af734870ac59b2180059994227dd7d8e2 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Convert the raw message sources from git patch emails to git-am friendly files.
index c6cd8cbe746ce50d1a7a53229aafb384120f5f9d..eee5086bd8966c332f0ce78019ae9c4a3a1a4928 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import subprocess
 import sys
 
index 9b473f5ff8237c85fe92c0ce225fecb5f96abd25..f34c3fb1c4b943338472e9d268aa8fbb3befa148 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ##===-- lui.py -----------------------------------------------*- Python -*-===##
 ##
 # The LLVM Compiler Infrastructure
index 93b3c23138fa7313843155ab0311fc75ee14b76f..7831961294dbe417bc04eda40f69201ab3620f0f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 ##===-- sandbox.py -------------------------------------------*- Python -*-===##
 ##
 # The LLVM Compiler Infrastructure
index 86cc3ef1742f1f1d714008afdc732a2565b4fda0..4aa2172349d54cccd365773ccd0217a7be1c6087 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Greps and returns the first svn log entry containing a line matching the regular
index 9e27ca2b702ecef29f1485f4509dc28eafa21eec..a5cebcc36f048f3a8f3755a30a92f30b2a84648f 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
                      The LLVM Compiler Infrastructure
 
index e75c070e01170bc08f327d9b0b2d7157773cfbee..7199e279c3e6830212286d85910e94632034e638 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Run gdb to disassemble a function, feed the bytes to 'llvm-mc -disassemble' command,
index 1069bf477af2062e78cefc115182348c1eea72c6..ff5d06dd13023f2815c7613694cccee52fe7455b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Run lldb to disassemble all the available functions for an executable image.
index 4d3119598423a5aa54f47ff351a2c8c3558e5606..18b77f73d5f93c19085c06e9acebc236577e3927 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Run llvm-mc interactively.
index 25b76bc1e072be36c27658ffadaa8d66f99f0269..1f007fabbcf1a228923012f3d1f9eb892b247575 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Run the test suite and send the result as an email message.
index b635e8c62d8c4b01137f0de63ad6281a4951398c..e5fd2bdcfc0d7727c0e20b923e09783529eef852 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Run lldb disassembler on all the binaries specified by a combination of root dir
index 794f4fc847867791a413224615d64df971ac4d81..2f57f765ab76753f1f0c9f7ba7068062fbc79592 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 Run a program via lldb until it fails.
index b0062ac0b74f30b53496a07af12809e0dbf99f64..1a37844c1167aabada17948bdd46ddb8296c7a1e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index d2ab4ce096f93991a329f3b5309b09b5d83d3d28..0484a9f0d4ff4834cda635d69e2b4cecb6179067 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index b6bc4ee6c909b15cf9c4ee5073114f592d56ee62..1082c655d721e9d63d297a43bf421f1ed4cde88f 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 import subprocess
index 8e621cef5cd98ba37cb51a096f53fe915d3d22a0..01f68fbd6b92ecceec77f29167213d62e8153c71 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 36e81a5d569a746567776da4f1aa57cbd5fc8570..da8eeb385583a0578c81d05f1dea005652b0d73f 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index f4ee3a7d44e63958dffc6ed7add97e5797a66f7c..0e185ff7219a6a481ed4e9af5e5ce146a2de4f91 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index f6582506311cca9fdf4695fceab364ea9921497c..160f073493f2e896972895562b1d224b3578ca2d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 0193d25704c528eecc120a06d3ee16786b96350e..42136b97b98505871af8c7837473eda4f115ae43 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index bc0bfd586f7a48d3621f34646a0561a97af56180..b2971423c6d9d5257b076b644e95b846b13582f4 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import os
 import re
index 7bfbec8cfde9e5459274fc25dc3140438ef921e5..a0c06899c554503f4aad9a7e1839790c1f11a774 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index d4e158d9e1d80347b47db044bcb7dbe017c88cd6..196c0aa0591b26b36b566e6fbe8fe7c06d0ed42b 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 69a86f6482d13af2f19ad6c503ab72d3f1d532fc..8250c8c3f5e493a9bf353972228a15aaf48e9da1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Given a previous good compile narrow down miscompiles.
 # Expects two directories named "before" and "after" each containing a set of
index 706ad559db9c753fe02d24077600875684eb7682..4eb75ab864298a8ef8d212d5821977c1620bf727 100644 (file)
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#! /usr/bin/env python3
 # encoding: utf-8
 
 import argparse
index f0a4455f5fb7cc9d96148758c640e4b27b81d3b3..9cfae85e6c39b9f336d814da642a734118efeb91 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 compare.py - versatile benchmark output compare tool
index 9030550b43bece88d41bac337e26004a109232d5..d131dc719414c45e10577570de5d3b41656a8fc3 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 strip_asm.py - Cleanup ASM output for the specified file
index d1b12575e9c321582228eda3a9fe3fbefcc62587..94c229f2d7146c30b99c8acefefd38210bc2832b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import os
 import sys
index f4f8ddcec797ad2ad5f109a8020c109bbaad4279..f9e4c2bab42abe8135d2e4726badb2717504356d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # This script is used to bisect skip and count arguments for --debug-counter.
 # It is similar to bisect, except it understands how to increase skip and decrease count
 #
index 4c366efbba497b0808fb678a285c24ab4db5d6fc..5df1cbed12d8ba229399bfc0df4f248e49ea7804 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Reduces GlobalISel failures.
 
index 59b13f306505a8eca4859acdef2f85a5f33fcc08..2b28ada21019fb4c86b0658509ce66469e5bca37 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import os
 import plistlib
index a5946ff24af5ad850ced4270ae7a731ab2ed4e3a..a32e3a4175aac251bdefe29dc093105aeb353b18 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """A ladder graph creation program.
 
 This is a python program that creates c source code that will generate
index 93ad2e9c375871dc614cc623977907f58d89a1f1..7c7c6a93b57a3a2bf82f972b51dbfba3f9129440 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """A tool for extracting a list of symbols to export
 
index b4e34fc76ba5e7967ef9af27051974bcf79e6355..c2a31f728f54929c10c8866db4dd2c2c6896447b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # This script extracts the VPlan digraphs from the vectoriser debug messages
 # and saves them in individual dot files (one for each plan). Optionally, and
index bf234301f1321c1ce370b751a961e3e534cc9a20..968278e44c09e79d902e2f95a7083f43ac93f272 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # ======- git-llvm - LLVM Git Help Integration ---------*- python -*--========#
 #
index c7694236be55f901262dce946a8e9f71238f8f02..71476d24273b92fe2d8be5a37174c2a81da66971 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Runs tablegen."""
 
 import subprocess
index 9841dc97a8002bfdba5d52ece2d966ef954627e8..e5a91bf6784a0aab3f80f88f24f17860406d5579 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Symlinks, or on Windows copies, an existing file to a second location.
 
index 21abe7ef91493ef03ca749138d0dd0db25e0cb02..8e91e98c55d4e7ec6139f4cee4336bd15f2313aa 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Helps to keep BUILD.gn files in sync with the corresponding CMakeLists.txt.
 
index eba6b4ec521a51de65bfc0d44e8127c45a76559b..cb83caf88d54ab8e4e6d33384e6562822d55a9f0 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Emulates the bits of CMake's configure_file() function needed in LLVM.
 
 The CMake build uses configure_file() for several things.  This emulates that
index 974004df91589cfc99f1f725bd36c93b8e3dea4f..30422a837ded47d1592e39d03155703390834749 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Gets the current revision and writes it to VCSRevision.h."""
 
index f80873b3be80dfa2655b605b69038300304b5a60..ddb3eacc2ae1765bf7218bd959dd39d3fdb56107 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """Calls `gn` with the right --dotfile= and --root= arguments for LLVM."""
 
 # GN normally expects a file called '.gn' at the root of the repository.
index e460ff7d083620680a812120ba7c622b9bd9396f..66633886d07d630451209e8fcbdbd5dd3f62f950 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """A tool for looking for indirect jumps and calls in x86 binaries.
 
index af070c69b5bd753f45dc26f54dc8b25ad59110eb..51f3ad559e4dce200a6ebdb302ce0b122349f0c9 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 import sys
 
 from lit.main import main
index d4e8f9ff6d7cb47f9dcdb17e4e08802553c84de7..036d6540d9ba620df5559a49f41db6b35d2cba78 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 # Source: http://code.activestate.com/recipes/475116/, with
 # modifications by Daniel Dunbar.
index 807360ac5b9d286d197e7a86554c855cfc3fb4d3..eeb729cd11590537eb8d6aa75f0e9db2a2b28679 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 lit - LLVM Integrated Tester.
index dd49f025b1f2e2e85de60b83251ce65e8e0ecff0..61230a1a97e042084c1af5395c13e52003d99b9e 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 
index f3a90ff4cd675879a0d06d86d89dcce427ba451b..112039e03fcb2394d6bd25fd62a83ca0cf2c0af7 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 import time
index d7bc5968f26117c7be18ca2f5b97e117f4ac4fc4..d7d6c8cf56dfe23d151b4ba6079c49ae04d81815 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 
index ac9a80e6d5063752d67e6880a900e3463248add5..ed7e6776e73c49e669dba628eba0f5f0e4b5ca72 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_statement
 import os
index a5a2bc9da8af7e4820e2f7a520b539c7d80c17df..b6c85833684ee9ce0d117eb9e9f83de7d23b4448 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 
index 2f7a2503b97625bb166b02da59036599f4d28e16..8cd890c550d28096496f09aafc4174a1e67c1a94 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import argparse
 import platform
index 467505b7f293f5bb00f65831da6da9574116a851..71a49cc83fc8a9caaff1c67468700dd064a5c47c 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index 9463251d823ab21766a3a816546b85c7000c4254..f5e78b157a5d4146722ed759afb6de394c2c2657 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 
index 357089d4899b5223370081e552e158c1aa957a31..56919479c79ac727db4c0e9a5d0d80c98f6821ad 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import sys
 
index 7377e3d3fed7f53893fcf2b74ebbda17e025310c..ac1463053bab93999399f6f1a41417fd03318ddc 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 import llvmbuild
 
index 820fceab0d02a1c0483cb548c7bf8ded87f33c13..744275e745a6ac067554fc5ecde81e21e8b37f63 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
 Summarize the information in the given coverage files.
 
index 8700d15677d9b5001d59ca85e840089cbcea9732..f49741973c49bafb48ac4d7259f2ba1c009e0c4e 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 # -*- coding: utf-8 -*-
 
 import os
index 5c4af242d0de56fab3f755b955b47adcada45170..26bb4ec70d33f66cab632e5959503c24a84c42b5 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 
index e7e13b08381241b92ed3a8226418160571a0fff1..7543cb8060e0649d6aba82e3ed40e464bb4abc0b 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 from __future__ import print_function
 
 import re, string, sys, os, time
index 7bd1523b58faa31c63fcfaaa6b1fbd1d51ae59e6..3eae2fffeadc1ad61a171fa045fc3c6754b8a0bc 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 from __future__ import print_function
 import re, string, sys, os, time, math
index 2d86cc0a28fa399f994e0436249b31c926d34087..54e7040fc6716d28971732dc4c0653e3590f9b5c 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """A shuffle vector fuzz tester.
 
index 6b2f94a693533db529c20c42ab71c553323b5b44..48b9724e4c273e64570fbda1682938fbec5db2ed 100644 (file)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """A shuffle-select vector fuzz tester.
 
index 70bfdedfc6d32ad1572bae3c80a96e64955e1248..450cd0e920f86c5cba8df3dd65f8d4cacd146915 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Script to sort the top-most block of #include lines.
 
index ad8265ba7bc1b65846ce62c24048eeade70f45a6..7a8c5fdc9004eb55c4c5f7d68ccfeb434549418d 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 """
 Unicode case folding database conversion utility
 
index 64e64e090afa617b7c43e8b48438f37d5dbdef71..9f3a79b0f0091043335d06cfe39f39c2d9a75d23 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """A script to generate FileCheck statements for 'opt' analysis tests.
 
index 960fee232dc8eff9500e9db900f2b17cf8c8899a..1434bd5736bc0609c9b77ffd2e63ad783d434c64 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """A test case update script.
 
index 06fd655ab795e9d31e650fd16701c3789bf3ecbc..6695765fd7ff647faec4e47dee0085e1be5a0bc9 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """A test case update script.
 
index 56d236de24915271e12e206640c57e6ef1f62647..7fefe8e239e461a06f9667204e80588886d66e94 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """Updates FileCheck checks in MIR tests.
 
index 6d0bf0479c05c19c6417b123730d76aa15449b3e..a365a89e2bfb1908e7d53a8ff54c1d6d26b59a76 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """A script to generate FileCheck statements for 'opt' regression tests.
 
index 4269db2de46674535dec7386a20d5702f4a1b256..30c3846b83fe6c1766ab0e2d6c9d00f0b7e737a3 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 """
 wciia - Whose Code Is It Anyway