2 Commits

Author SHA1 Message Date
Dan Albert
f3b1f879f1 Fix .clang-format to not preserve bad format.
Deriving pointer alignment essentially makes this do nothing, since for
whatever reason (fighting with Studio maybe?), for new files it's
deriving the wrong style.
2024-08-28 05:55:16 -07:00
Dan Albert
c07738efae Add a global .clang-format.
This can't be enforced automatically because there's no good way to
ensure that every developer is using the same clang-format, and there
are style differences across versions (that's what bug fixes and
improvements do in an auto-formatter). Still it's useful to provide one
of these that can at least be used for reformatting modified sections,
even if it'd cause a lot of churn to apply globally.
2024-04-16 16:00:09 -07:00