[clang-tools-extra] 88052fd - check_clang_tidy.py: Update run line to python3

Nico Weber via cfe-commits cfe-commits at lists.llvm.org
Fri Jun 3 06:28:38 PDT 2022


Author: Nico Weber
Date: 2022-06-03T09:28:09-04:00
New Revision: 88052fd241267a09a4e612505f589ae371b91398

URL: https://github.com/llvm/llvm-project/commit/88052fd241267a09a4e612505f589ae371b91398
DIFF: https://github.com/llvm/llvm-project/commit/88052fd241267a09a4e612505f589ae371b91398.diff

LOG: check_clang_tidy.py: Update run line to python3

`python` no longer exists on several systems, and the script
runs under python3 when run as part of lit.

Added: 
    

Modified: 
    clang-tools-extra/test/clang-tidy/check_clang_tidy.py

Removed: 
    


################################################################################
diff  --git a/clang-tools-extra/test/clang-tidy/check_clang_tidy.py b/clang-tools-extra/test/clang-tidy/check_clang_tidy.py
index e6a4a8e50549..4ce6cd4e65de 100755
--- a/clang-tools-extra/test/clang-tidy/check_clang_tidy.py
+++ b/clang-tools-extra/test/clang-tidy/check_clang_tidy.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 #===- check_clang_tidy.py - ClangTidy Test Helper ------------*- python -*--===#
 #


        


More information about the cfe-commits mailing list