diff options
author | johannst <johannes.stoelp@gmail.com> | 2020-10-05 18:07:06 +0200 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2020-10-05 18:07:06 +0200 |
commit | abba364fb3b8871a2baac7779b0850b3bdc479b0 (patch) | |
tree | 000b797480cad28c603014db828bf46d18925c84 /.clang-format | |
parent | 40335c667870e72deb739b81ffbf8d23902ebe71 (diff) | |
download | matcha-threads-abba364fb3b8871a2baac7779b0850b3bdc479b0.tar.gz matcha-threads-abba364fb3b8871a2baac7779b0850b3bdc479b0.zip |
change fmt of short function
Only allow short 'Empty' functions due to following clang fmt bug
https://bugs.llvm.org/show_bug.cgi?id=24410
Diffstat (limited to '.clang-format')
-rw-r--r-- | .clang-format | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.clang-format b/.clang-format index a22ca9c..c85a77d 100644 --- a/.clang-format +++ b/.clang-format @@ -17,7 +17,7 @@ AllowAllConstructorInitializersOnNextLine: true AllowAllParametersOfDeclarationOnNextLine: true AllowShortBlocksOnASingleLine: false AllowShortCaseLabelsOnASingleLine: false -AllowShortFunctionsOnASingleLine: Inline +AllowShortFunctionsOnASingleLine: Empty AllowShortIfStatementsOnASingleLine: Never AllowShortLambdasOnASingleLine: All AllowShortLoopsOnASingleLine: false |