cosmopolitan/build
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
..
bootstrap Make fixupobj work on Windows 2024-03-24 03:14:25 -07:00
config.mk Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
definitions.mk Standardize on -fsigned-char 2024-03-30 21:46:08 -07:00
download-cosmocc.sh Fix download-cosmocc.sh on Mac (#1066) 2024-01-06 14:46:31 -08:00
functions.mk Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
gdb Fix redbean zip central directory lookup 2021-02-27 12:08:28 -08:00
htags Make improvements 2024-02-12 10:23:00 -08:00
objdump Release Cosmopolitan v3.3.2 2024-02-27 09:15:59 -08:00
online.mk Fix ZipOS extraction of ZIP64 assets 2024-03-30 19:00:40 -07:00
realify.sed Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
realify.sh Make more improvements 2020-09-28 01:20:34 -07:00
rules.mk Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
run Fix aarch64 setjmp abi 2024-01-08 13:26:28 -08:00
sanitycheck Fix some regressions with execution 2022-08-07 22:10:18 -07:00
sha256sum.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00