forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[NFC][Py Reformat] Reformat python files in the rest of the dirs
This is an ongoing series of commits that are reformatting our Python code. This catches the last of the python files to reformat. Since they where so few I bunched them together. Reformatting is done with `black`. If you end up having problems merging this commit because you have made changes to a python file, the best way to handle that is to run git checkout --ours <yourfile> and then reformat it with black. If you run into any problems, post to discourse about it and we will try to help. RFC Thread below: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Reviewed By: jhenderson, #libc, Mordante, sivachandra Differential Revision: https://reviews.llvm.org/D150784
- Loading branch information
Showing
248 changed files
with
16,069 additions
and
12,026 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
if 'AArch64' not in config.root.targets: | ||
if "AArch64" not in config.root.targets: | ||
config.unsupported = True | ||
|
||
flags = '--target=aarch64-pc-linux -nostartfiles -nostdlib -ffreestanding' | ||
flags = "--target=aarch64-pc-linux -nostartfiles -nostdlib -ffreestanding" | ||
|
||
config.substitutions.insert(0, ('%cflags', f'%cflags {flags}')) | ||
config.substitutions.insert(0, ('%cxxflags', f'%cxxflags {flags}')) | ||
config.substitutions.insert(0, ("%cflags", f"%cflags {flags}")) | ||
config.substitutions.insert(0, ("%cxxflags", f"%cxxflags {flags}")) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
if not 'X86' in config.root.targets: | ||
if not "X86" in config.root.targets: | ||
config.unsupported = True | ||
|
||
flags = '--target=x86_64-pc-linux -nostdlib' | ||
flags = "--target=x86_64-pc-linux -nostdlib" | ||
|
||
config.substitutions.insert(0, ('%cflags', f'%cflags {flags}')) | ||
config.substitutions.insert(0, ('%cxxflags', f'%cxxflags {flags}')) | ||
config.substitutions.insert(0, ("%cflags", f"%cflags {flags}")) | ||
config.substitutions.insert(0, ("%cxxflags", f"%cxxflags {flags}")) |
Oops, something went wrong.