Skip to content

Commit f2f410c

Browse files
authored
[libc][newhdrgen] Remove shebangs in files other than yaml_to_classes.py (#101816)
None of the Python files were committed with the executable bit set, and only yaml_to_classes.py was intended to be executed. Also sets the executable bit on yaml_to_classes.py and changes the shebang to run python3 instead of python.
1 parent b024fd2 commit f2f410c

File tree

8 files changed

+1
-15
lines changed

8 files changed

+1
-15
lines changed

libc/newhdrgen/class_implementation/classes/enumeration.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
#
31
# ====-- Enumeration class for libc function headers ----------*- python -*--==#
42
#
53
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

libc/newhdrgen/class_implementation/classes/function.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
#
31
# ====-- Function class for libc function headers -------------*- python -*--==#
42
#
53
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

libc/newhdrgen/class_implementation/classes/macro.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
#
31
# ====-- Macro class for libc function headers ----------------*- python -*--==#
42
#
53
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

libc/newhdrgen/class_implementation/classes/object.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
#
31
# ====-- Object class for libc function headers ---------------*- python -*--==#
42
#
53
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

libc/newhdrgen/class_implementation/classes/type.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
#
31
# ====-- Type class for libc function headers -----------------*- python -*--==#
42
#
53
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

libc/newhdrgen/gpu_headers.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
#
31
# ===- GPU HeaderFile Class for --export-decls version --------*- python -*--==#
42
#
53
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

libc/newhdrgen/header.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env python
2-
#
31
# ====- HeaderFile Class for libc function headers -----------*- python -*--==#
42
#
53
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.

libc/newhdrgen/yaml_to_classes.py

100644100755
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
#
33
# ===- Generate headers for libc functions -------------------*- python -*--==#
44
#

0 commit comments

Comments
 (0)