File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -265,12 +265,10 @@ def main():
265265 "Ignoring the following files (wrong extension, symlink, or "
266266 "ignored by clang-format):"
267267 )
268- for filename in ignored_files :
269- print_filename (filename , opts .print0 )
268+ print_filenames (ignored_files , opts .print0 )
270269 if changed_lines :
271270 print ("Running clang-format on the following files:" )
272- for filename in changed_lines :
273- print_filename (filename , opts .print0 )
271+ print_filenames (changed_lines , opts .print0 )
274272
275273 if not changed_lines :
276274 if opts .verbose >= 0 and not opts .print0 :
@@ -309,8 +307,7 @@ def main():
309307 if (opts .verbose >= 0 and not opts .patch ) or opts .verbose >= 1 :
310308 if not opts .print0 :
311309 print ("changed files:" )
312- for filename in changed_files :
313- print_filename (filename , opts .print0 )
310+ print_filenames (changed_files , opts .print0 )
314311
315312 return 1
316313
You can’t perform that action at this time.
0 commit comments