]> git.sur5r.net Git - i3/i3/commitdiff
clang-format: don’t define ForeachMacros
authorMichael Stapelberg <michael@stapelberg.de>
Thu, 19 Jun 2014 09:17:46 +0000 (11:17 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Thu, 19 Jun 2014 09:17:46 +0000 (11:17 +0200)
Otherwise clang-formatting **/*.h breaks include/queue.h

.clang-format

index 57948c311cf2244721becc17300163d4addc30a8..1d84013239de1922edcb58688c0800226db9b46b 100644 (file)
@@ -7,5 +7,4 @@ AlwaysBreakBeforeMultilineStrings: false
 IndentWidth: 4
 PointerBindsToType: false
 ColumnLimit: 0
-ForEachMacros: [ TAILQ_FOREACH, TAILQ_FOREACH_REVERSE, SLIST_FOREACH, CIRCLEQ_FOREACH, CIRCLEQ_FOREACH_REVERSE, NODES_FOREACH, NODES_FOREACH_REVERSE ]
 SpaceBeforeParens: ControlStatements