[clang-tools-extra] r258133 - [clang-tidy] Python scripts shebang fixes
Alexander Kornienko via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 19 08:10:40 PST 2016
Author: alexfh
Date: Tue Jan 19 10:10:39 2016
New Revision: 258133
URL: http://llvm.org/viewvc/llvm-project?rev=258133&view=rev
Log:
[clang-tidy] Python scripts shebang fixes
Summary:
This patch fixes shebang lines in Python script files.
Most Python scripts in LLVM & Clang are using this shebang line.
[[ https://mail.python.org/pipermail/tutor/2007-June/054816.html | Here]] is an explanaiton of why such line should be used instead of what is currently in these few files.
Reviewers: klimek, alexfh
Subscribers: cfe-commits
Patch by Kirill Bobyrev!
Differential Revision: http://reviews.llvm.org/D16270
Modified:
clang-tools-extra/trunk/clang-tidy/tool/clang-tidy-diff.py
clang-tools-extra/trunk/docs/clang-tidy/tools/dump_check_docs.py
clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy.py
Modified: clang-tools-extra/trunk/clang-tidy/tool/clang-tidy-diff.py
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy/tool/clang-tidy-diff.py?rev=258133&r1=258132&r2=258133&view=diff
==============================================================================
--- clang-tools-extra/trunk/clang-tidy/tool/clang-tidy-diff.py (original)
+++ clang-tools-extra/trunk/clang-tidy/tool/clang-tidy-diff.py Tue Jan 19 10:10:39 2016
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
#===- clang-tidy-diff.py - ClangTidy Diff Checker ------------*- python -*--===#
#
Modified: clang-tools-extra/trunk/docs/clang-tidy/tools/dump_check_docs.py
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/docs/clang-tidy/tools/dump_check_docs.py?rev=258133&r1=258132&r2=258133&view=diff
==============================================================================
--- clang-tools-extra/trunk/docs/clang-tidy/tools/dump_check_docs.py (original)
+++ clang-tools-extra/trunk/docs/clang-tidy/tools/dump_check_docs.py Tue Jan 19 10:10:39 2016
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
r"""
Create stubs for check documentation files.
Modified: clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy.py
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy.py?rev=258133&r1=258132&r2=258133&view=diff
==============================================================================
--- clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy.py (original)
+++ clang-tools-extra/trunk/test/clang-tidy/check_clang_tidy.py Tue Jan 19 10:10:39 2016
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
#===- check_clang_tidy.py - ClangTidy Test Helper ------------*- python -*--===#
#
More information about the cfe-commits
mailing list