Skip to content

Commit 40b068e

Browse files
yfeldblumfacebook-github-bot
authored andcommitted
Cut FOR_EACH_ENUMERATE
Summary: [Folly] Cut the `FOR_EACH_ENUMERATE` macro, which may be replaced by a combination of range-for, `ranges::view::enumerate`, and structured bindings. Reviewed By: markisaa Differential Revision: D21813019 fbshipit-source-id: fc9ac09a4e2f72f1433d0a518f03d5cd69a59c55
1 parent 65620e7 commit 40b068e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.clang-format

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ContinuationIndentWidth: 4
4242
Cpp11BracedListStyle: true
4343
DerivePointerAlignment: false
4444
DisableFormat: false
45-
ForEachMacros: [ FOR_EACH, FOR_EACH_ENUMERATE, FOR_EACH_KV, FOR_EACH_R, FOR_EACH_RANGE, ]
45+
ForEachMacros: [ FOR_EACH, FOR_EACH_KV, FOR_EACH_R, FOR_EACH_RANGE, ]
4646
IncludeCategories:
4747
- Regex: '^<.*\.h(pp)?>'
4848
Priority: 1

0 commit comments

Comments
 (0)