HomePhabricator

[Analyzer] Use a reference in a range-based for

Authored by Mordante on Dec 21 2019, 2:20 AM.

Description

[Analyzer] Use a reference in a range-based for

This avoids unneeded copies when using a range-based for loops.

This avoids new warnings due to D68912 adds -Wrange-loop-analysis to -Wall.

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

Details

Committed
MordanteDec 21 2019, 5:52 AM
Differential Revision
D70869: [Analyzer] Use a reference in a range-based for
Parents
rGbe1a9b3863b6: [Wdocumentation] Implement \anchor
Branches
Unknown
Tags
Unknown