summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorEn-Shuo Hsu <enshuo@chromium.org>2019-05-25 16:56:20 +0800
committerchrome-bot <chrome-bot@chromium.org>2019-06-06 17:59:16 -0700
commit2c8194328e2d29c1b67203325cce51ede48f20b8 (patch)
tree4ce9de27d35db834f9dc6d6d284af0f4ae35a261 /.clang-format
parente2fb5cafd9fe7075c3c1b9ea1eecca635663c129 (diff)
downloadadhd-2c8194328e2d29c1b67203325cce51ede48f20b8.tar.gz
CRAS: Rename FOR_ARRAY_ELEMENT and update .clang-format
The FOR_ARRAY_ELEMENT is a foreach macro that doesn't share the same naming convention like the DL_FOREACH or LL_FOREACH. Rename it and update .clang-format to get correct formatting results. BUG=chromium:950858 TEST=None Change-Id: Iac9667287792d7539a267935bd374a34c69e69cb Reviewed-on: https://chromium-review.googlesource.com/1630367 Commit-Ready: En-Shuo Hsu <enshuo@google.com> Tested-by: En-Shuo Hsu <enshuo@google.com> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org>
Diffstat (limited to '.clang-format')
-rw-r--r--.clang-format1
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-format b/.clang-format
index 97117ecb..c2b20759 100644
--- a/.clang-format
+++ b/.clang-format
@@ -69,6 +69,7 @@ ExperimentalAutoDetectBinPacking: false
# | sed "s,^#define \([^[:space:]]*FOREACH[^[:space:]]*\)(.*$, - '\1'," \
# | sort | uniq
ForEachMacros:
+ - 'ARRAY_ELEMENT_FOREACH'
- 'DL_FOREACH'
- 'DL_FOREACH_INTERNAL'
- 'LL_FOREACH'