From abba364fb3b8871a2baac7779b0850b3bdc479b0 Mon Sep 17 00:00:00 2001 From: johannst Date: Mon, 5 Oct 2020 18:07:06 +0200 Subject: 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 --- .clang-format | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.clang-format') 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 -- cgit v1.2.3