Commit 65f4b23e authored by Igor Kushnir's avatar Igor Kushnir
Browse files

.clang-format: add KDevelop's FOREACH_FUNCTION* to ForEachMacros list

parent e1ad4829
......@@ -100,7 +100,8 @@ SpaceAfterTemplateKeyword: false
AlwaysBreakTemplateDeclarations: true
# macros for which the opening brace stays attached.
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, QBENCHMARK, QBENCHMARK_ONCE , wl_resource_for_each, wl_resource_for_each_safe ]
#KDevelop prepends FOREACH_FUNCTION and FOREACH_FUNCTION_STATIC:
ForEachMacros: [ FOREACH_FUNCTION, FOREACH_FUNCTION_STATIC, foreach, Q_FOREACH, BOOST_FOREACH, forever, Q_FOREVER, QBENCHMARK, QBENCHMARK_ONCE , wl_resource_for_each, wl_resource_for_each_safe ]
# keep lambda formatting multi-line if not empty
AllowShortLambdasOnASingleLine: Empty
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment