aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-28 15:08:05 +0200
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-07-28 15:08:05 +0200
commit000b57306afe450c21df3aa95313567614c34516 (patch)
tree30ec7cee14910129a668e00791e2cdeef0edb1c9
parent4ef72d95868451b7e53bd49a873648332a121130 (diff)
downloadlibquotient-000b57306afe450c21df3aa95313567614c34516.tar.gz
libquotient-000b57306afe450c21df3aa95313567614c34516.zip
.clang-format: revert BraceWrapping.AfterControlStatement
It triggers a bug in libformat that prevents AllowShortFunctionsOnASingleLine to do its job: https://bugs.llvm.org/show_bug.cgi?id=47936
-rw-r--r--.clang-format2
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format
index 72b67488..3eafee44 100644
--- a/.clang-format
+++ b/.clang-format
@@ -44,7 +44,7 @@ AlwaysBreakTemplateDeclarations: Yes
BraceWrapping:
AfterCaseLabel: false
AfterClass: false
- AfterControlStatement: MultiLine
+ AfterControlStatement: Never # Switch to MultiLine, once https://bugs.llvm.org/show_bug.cgi?id=47936 is fixed
AfterEnum: false
AfterFunction: true
AfterNamespace: false