From 2daf7728a15f2ee0949ddb445816c9303155ce4a Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 7 Mar 2020 18:32:19 +0100 Subject: Update clang-format configuration to more closely match pugl.h --- .clang-format | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.clang-format b/.clang-format index 82cad06..5aba91d 100644 --- a/.clang-format +++ b/.clang-format @@ -19,7 +19,7 @@ AllowShortLambdasOnASingleLine: All AllowShortIfStatementsOnASingleLine: Never AllowShortLoopsOnASingleLine: false AlwaysBreakAfterDefinitionReturnType: TopLevel -AlwaysBreakAfterReturnType: TopLevelDefinitions +AlwaysBreakAfterReturnType: TopLevel AlwaysBreakBeforeMultilineStrings: false AlwaysBreakTemplateDeclarations: Yes BinPackArguments: false @@ -119,8 +119,9 @@ SpacesInParentheses: false SpacesInSquareBrackets: false Standard: Cpp11 StatementMacros: - - Q_UNUSED - - QT_REQUIRE_VERSION + - PUGL_API + - PUGL_DEPRECATED_BY + - PUGL_UNUSED TabWidth: 4 UseTab: ForIndentation ... -- cgit v1.2.1