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
This commit is contained in:
Yedidya Feldblum 2020-06-01 13:45:28 -07:00 committed by Facebook GitHub Bot
parent 65620e716c
commit 40b068e4bc

View File

@ -42,7 +42,7 @@ ContinuationIndentWidth: 4
Cpp11BracedListStyle: true Cpp11BracedListStyle: true
DerivePointerAlignment: false DerivePointerAlignment: false
DisableFormat: false DisableFormat: false
ForEachMacros: [ FOR_EACH, FOR_EACH_ENUMERATE, FOR_EACH_KV, FOR_EACH_R, FOR_EACH_RANGE, ] ForEachMacros: [ FOR_EACH, FOR_EACH_KV, FOR_EACH_R, FOR_EACH_RANGE, ]
IncludeCategories: IncludeCategories:
- Regex: '^<.*\.h(pp)?>' - Regex: '^<.*\.h(pp)?>'
Priority: 1 Priority: 1