aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-03-07 18:32:19 +0100
committerDavid Robillard <d@drobilla.net>2020-03-07 18:32:19 +0100
commit2daf7728a15f2ee0949ddb445816c9303155ce4a (patch)
tree43fc8f143649b0c05da083e0b0bf79a4f9d513c4
parent91a08512f111cc75e177b3dbcf37d39f9ad56765 (diff)
downloadpugl-2daf7728a15f2ee0949ddb445816c9303155ce4a.tar.gz
pugl-2daf7728a15f2ee0949ddb445816c9303155ce4a.tar.bz2
pugl-2daf7728a15f2ee0949ddb445816c9303155ce4a.zip
Update clang-format configuration to more closely match pugl.h
-rw-r--r--.clang-format7
1 files 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
...