cosmopolitan/ape
Jōshin 6e6fc38935
Apply clang-format update to repo (#1154)
Commit bc6c183 introduced a bunch of discrepancies between what files
look like in the repo and what clang-format says they should look like.
However, there were already a few discrepancies prior to that. Most of
these discrepancies seemed to be unintentional, but a few of them were
load-bearing (e.g., a #include that violated header ordering needing
something to have been #defined by a 'later' #include.)

I opted to take what I hope is a relatively smooth-brained approach: I
reverted the .clang-format change, ran clang-format on the whole repo,
reapplied the .clang-format change, reran clang-format again, and then
reverted the commit that contained the first run. Thus the full effect
of this PR should only be to apply the changed formatting rules to the
repo, and from skimming the results, this seems to be the case.

My work can be checked by applying the short, manual commits, and then
rerunning the command listed in the autogenerated commits (those whose
messages I have prefixed auto:) and seeing if your results agree.

It might be that the other diffs should be fixed at some point but I'm
leaving that aside for now.

fd '\.c(c|pp)?$' --print0| xargs -0 clang-format -i
2024-04-25 10:38:00 -07:00
..
public Improve open source compatibility 2022-09-08 03:19:35 -07:00
aarch64.lds Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
ape-m1.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
ape.h Mint APE Loader v1.10 2023-12-31 11:43:13 -08:00
ape.internal.h Get aarch64 hello world working 2023-05-10 04:20:47 -07:00
ape.lds Shave 4kb off each binary 2024-02-25 11:11:34 -08:00
ape.S Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
apeinstall.sh Revert apeinstall.sh binfmt flags (#1072) 2024-01-08 14:21:21 -08:00
apeuninstall.sh Remove feature for embedding blink in ape scripts 2024-01-26 22:30:56 -08:00
BUILD.mk Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
idata.internal.h flip et / noet in modelines 2023-12-07 22:17:11 -05:00
launch.S aarch64 loader passes os (#1042) 2023-12-31 06:42:36 -08:00
loader-macho.S Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
loader.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
loader.lds more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
macros.internal.h Delete some dead code 2024-01-01 00:13:16 -08:00
mz.ansi Initial import 2020-06-15 07:18:57 -07:00
notice.inc Initial import 2020-06-15 07:18:57 -07:00
relocations.h Optimize memory layout 2022-09-12 04:26:52 -07:00
sections.internal.h Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
start.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
systemcall.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00