diff options
| author | Serge Guelton <sguelton@quarkslab.com> | 2019-01-03 15:44:24 +0000 |
|---|---|---|
| committer | Serge Guelton <sguelton@quarkslab.com> | 2019-01-03 15:44:24 +0000 |
| commit | 16228bc65e46de9045d522dfe7afbba8c4bb5955 (patch) | |
| tree | 44df6aed0f9faf1a2e9cf125433c5c02b4d28b8c | |
| parent | dd84c9d6638a9bd8adba22d14b3c616a5e36c409 (diff) | |
| download | bcm5719-llvm-16228bc65e46de9045d522dfe7afbba8c4bb5955.tar.gz bcm5719-llvm-16228bc65e46de9045d522dfe7afbba8c4bb5955.zip | |
Python compat - no explicit reference to Python version
Update documentation and shebang.
Differential Revision: https://reviews.llvm.org/D56252
llvm-svn: 350327
| -rw-r--r-- | llvm/docs/TestSuiteGuide.md | 2 | ||||
| -rwxr-xr-x | llvm/tools/opt-viewer/opt-diff.py | 2 | ||||
| -rwxr-xr-x | llvm/tools/opt-viewer/opt-stats.py | 2 | ||||
| -rwxr-xr-x | llvm/tools/opt-viewer/opt-viewer.py | 2 | ||||
| -rw-r--r-- | llvm/tools/opt-viewer/optrecord.py | 2 | ||||
| -rwxr-xr-x | llvm/utils/update_analyze_test_checks.py | 2 | ||||
| -rwxr-xr-x | llvm/utils/update_llc_test_checks.py | 2 | ||||
| -rwxr-xr-x | llvm/utils/update_mca_test_checks.py | 2 | ||||
| -rwxr-xr-x | llvm/utils/update_test_checks.py | 2 |
9 files changed, 9 insertions, 9 deletions
diff --git a/llvm/docs/TestSuiteGuide.md b/llvm/docs/TestSuiteGuide.md index fe7a2785c85..0d9bbacb0d9 100644 --- a/llvm/docs/TestSuiteGuide.md +++ b/llvm/docs/TestSuiteGuide.md @@ -17,7 +17,7 @@ Quickstart ```bash % mkdir venv - % virtualenv -p python2.7 venv + % virtualenv venv % . venv/bin/activate % pip install svn+http://llvm.org/svn/llvm-project/llvm/trunk/utils/lit % lit --version diff --git a/llvm/tools/opt-viewer/opt-diff.py b/llvm/tools/opt-viewer/opt-diff.py index f3bfd1860b9..36e81a5d569 100755 --- a/llvm/tools/opt-viewer/opt-diff.py +++ b/llvm/tools/opt-viewer/opt-diff.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python from __future__ import print_function diff --git a/llvm/tools/opt-viewer/opt-stats.py b/llvm/tools/opt-viewer/opt-stats.py index 03de23bdb27..f4ee3a7d44e 100755 --- a/llvm/tools/opt-viewer/opt-stats.py +++ b/llvm/tools/opt-viewer/opt-stats.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python from __future__ import print_function diff --git a/llvm/tools/opt-viewer/opt-viewer.py b/llvm/tools/opt-viewer/opt-viewer.py index b660fe360f7..f6582506311 100755 --- a/llvm/tools/opt-viewer/opt-viewer.py +++ b/llvm/tools/opt-viewer/opt-viewer.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python from __future__ import print_function diff --git a/llvm/tools/opt-viewer/optrecord.py b/llvm/tools/opt-viewer/optrecord.py index 8cf22ee3f05..0193d25704c 100644 --- a/llvm/tools/opt-viewer/optrecord.py +++ b/llvm/tools/opt-viewer/optrecord.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python from __future__ import print_function diff --git a/llvm/utils/update_analyze_test_checks.py b/llvm/utils/update_analyze_test_checks.py index 0463bc01982..64e64e090af 100755 --- a/llvm/utils/update_analyze_test_checks.py +++ b/llvm/utils/update_analyze_test_checks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python """A script to generate FileCheck statements for 'opt' analysis tests. diff --git a/llvm/utils/update_llc_test_checks.py b/llvm/utils/update_llc_test_checks.py index d85fed56c18..960fee232dc 100755 --- a/llvm/utils/update_llc_test_checks.py +++ b/llvm/utils/update_llc_test_checks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python """A test case update script. diff --git a/llvm/utils/update_mca_test_checks.py b/llvm/utils/update_mca_test_checks.py index 54d1cb443c3..06fd655ab79 100755 --- a/llvm/utils/update_mca_test_checks.py +++ b/llvm/utils/update_mca_test_checks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python """A test case update script. diff --git a/llvm/utils/update_test_checks.py b/llvm/utils/update_test_checks.py index f878d478114..6d0bf0479c0 100755 --- a/llvm/utils/update_test_checks.py +++ b/llvm/utils/update_test_checks.py @@ -1,4 +1,4 @@ -#!/usr/bin/env python2.7 +#!/usr/bin/env python """A script to generate FileCheck statements for 'opt' regression tests. |

