From: Michael Stapelberg Date: Thu, 19 Jun 2014 09:17:46 +0000 (+0200) Subject: clang-format: don’t define ForeachMacros X-Git-Tag: 4.9~112 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4211274fcd028a8e33a084e5695290ae0e9f3020;p=i3%2Fi3 clang-format: don’t define ForeachMacros Otherwise clang-formatting **/*.h breaks include/queue.h --- diff --git a/.clang-format b/.clang-format index 57948c31..1d840132 100644 --- a/.clang-format +++ b/.clang-format @@ -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