clang-format update

Patrick Williams patrick at
Thu May 28 21:26:46 AEST 2020


There was an update to clang pushed into CI last week[1].  We are now
running clang-10 on the repository-level unit-tests.

There was one change to clang-format that added a new `BraceWrapping`
option called `AfterCaseLabel`.  If your `.clang-format` file doesn't
have it set to `true`, this new version will likely reformat your case
statements in a way you don't desire.

I have put a fix into the common `.clang-format` file in docs[2].  My
suggestion is that the maintainers sync their local .clang-format files
with the one in docs[3].

Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <>

More information about the openbmc mailing list