<title>style(3p/nix): Enforce braces around loops and conditionals</title>
<updated>2020-05-19T16:38:04+00:00</updated>
<author>
<name>Vincent Ambo</name>
<email>tazjin@google.com</email>
...</author>
<published>2020-05-19T16:38:04+00:00</published>
<link rel="alternate" type="text/html" href="http://code.tvl.fyi/commit/?id=b490742a511dd03afc43f5143d6d61edaeeb8091"/>
<id>urn:sha1:b490742a511dd03afc43f5143d6d61edaeeb8091</id>
<content type="text">
This change was generated with:
fd -e cc -e hh | xargs -I{} clang-tidy {} -p ~/projects/nix-build/ \
--checks='-*,readability-braces-around-statements' --fix \
-fix-errors
Some manual fixes were applied because some convoluted unbraced
statements couldn't be untangled by clang-tidy.
This commit still includes invalid files, but I decided to clean them
up in a subsequent commit so that it becomes more obvious where
clang-tidy failed. Maybe this will allow for a bug-report to
clang-tidy.
</content>