Commit Graph

6 Commits

Author SHA1 Message Date
Kim Gräsman d83677176c Add '// IWYU:' to known clang-format comment pragmas
This makes sure formatting doesn't line-wrap diagnostic checks in tests.
2023-01-07 12:27:16 +01:00
Kim Grasman d90fe9d451 Update .clang-format not to sort using declarations 2019-12-27 22:30:47 +01:00
Kim Grasman e1165b4f5a Update .clang-format
Disallow single-line blocks. This comes up in code reviews every now and
then. We avoid this style because it makes interactive debugging more
cumbersome.

Disable sorting of includes. Include order is occasionally critical in
our tests, and we want to be able to clang-format them as well.
2019-12-21 14:48:33 +01:00
Kim Grasman f7c7bc7cb4 Unix line endings for .clang-format 2016-03-01 21:46:53 +01:00
Kim Gräsman 119e0f1daa Disallow short block collapsing in .clang-format. Typical style seems to be hanging indent for one-line ifs and many debuggers can't set breakpoints on indivudual statements in one-liners. 2014-06-08 09:03:52 +00:00
Kim Gräsman 08bcd72dc8 Add clang-format configuration file. 2014-06-08 08:51:38 +00:00