HomePhabricator

[InlineCost] prefer range-for. NFC

Authored by nickdesaulniers on Nov 30 2020, 4:02 PM.

Description

[InlineCost] prefer range-for. NFC

Prefer range-for over iterators when such methods exist. Precommitted
from https://reviews.llvm.org/D91816.

Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>

Reviewed By: dblaikie

Differential Revision: https://reviews.llvm.org/D92350

Details