Commit Graph

3 Commits

Author SHA1 Message Date
Dietrich Epp dd96385d7c Style: Use trailing commas for enums
The trailing comma is supported in MPW and GCC. It fixes the formatting
issue with clang-format and makes cleaner diffs, so trailing commas have
been added to enums and clang-format has been run over the sources.
2022-04-10 03:51:59 -04:00
Dietrich Epp 43cb03c572 Adjust clang-format settings
The main intent is to not allow enums to get condensed to a single line,
but this has the side effect of making clang-format stop attaching
braces to the start of the enum. I felt it made sense to use a different
brace style everywhere rather than live with just enums with braces on a
separate line.
2022-03-23 01:24:16 -04:00
Dietrich Epp cce3f39184 Clang format
GitOrigin-RevId: 90772439cd008f07b4ead07f68dacf9594eb9d0e
2021-03-17 21:01:02 -04:00