Skip to content

Commit d5d036b

Browse files
author
Wael Yehia
committed
follow the suggested python formatting
1 parent d27b627 commit d5d036b

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

compiler-rt/test/profile/lit.cfg.py

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,12 @@ def exclude_unsupported_files_for_aix(dirname):
9898
("%clang_profgen=", build_invocation(clang_cflags) + " -fprofile-instr-generate=")
9999
)
100100
config.substitutions.append(
101-
("%clang_profgen_cont ", build_invocation(clang_cflags) + " -fprofile-instr-generate " +
102-
("-mllvm -runtime-counter-relocation " if runtime_reloc else ""))
101+
(
102+
"%clang_profgen_cont ",
103+
build_invocation(clang_cflags)
104+
+ " -fprofile-instr-generate "
105+
+ ("-mllvm -runtime-counter-relocation " if runtime_reloc else ""),
106+
)
103107
)
104108
config.substitutions.append(
105109
(
@@ -121,8 +125,12 @@ def exclude_unsupported_files_for_aix(dirname):
121125
("%clang_pgogen=", build_invocation(clang_cflags) + " -fprofile-generate=")
122126
)
123127
config.substitutions.append(
124-
("%clang_pgogen_cont ", build_invocation(clang_cflags) + " -fprofile-generate " +
125-
("-mllvm -runtime-counter-relocation " if runtime_reloc else ""))
128+
(
129+
"%clang_pgogen_cont ",
130+
build_invocation(clang_cflags)
131+
+ " -fprofile-generate "
132+
+ ("-mllvm -runtime-counter-relocation " if runtime_reloc else ""),
133+
)
126134
)
127135
config.substitutions.append(
128136
("%clangxx_pgogen ", build_invocation(clang_cxxflags) + " -fprofile-generate ")

0 commit comments

Comments
 (0)