commit | 60e5d63e51f6e8712e08f834c25a0c73d416baea | [log] [tgz] |
---|---|---|
author | Nathan Gauër <brioche@google.com> | Wed Oct 26 16:01:03 2022 +0000 |
committer | Nathan Gauër <brioche@google.com> | Thu Oct 27 11:39:02 2022 +0000 |
tree | 20e067fe0e92c6262dde72176bb3a581fc45a333 | |
parent | da215f10c991675b9c1ecb7eef2378e23b2d1276 [diff] |
format: add rule for single-line conditions Trying to uniformize the project coding style to keep consistency. Signed-off-by: Nathan Gauër <brioche@google.com>
diff --git a/.clang-format b/.clang-format index 5bf32ea..a9b027b 100644 --- a/.clang-format +++ b/.clang-format
@@ -1,7 +1,8 @@ --- -Language: Cpp +AllowShortIfStatementsOnASingleLine: false BasedOnStyle: Google DerivePointerAlignment: false +Language: Cpp SortIncludes: true AllowShortIfStatementsOnASingleLine: true ...