HomePhabricator

Adds -Wrange-loop-analysis to -Wall

Authored by Mordante on Jan 1 2020, 8:23 AM.

Description

Adds -Wrange-loop-analysis to -Wall

This makes the range loop warnings part of -Wall.

Fixes PR32823: Warn about accidental coping of data in range based for

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

Recomitted after fixing the warnings it created.

Details

Committed
MordanteJan 6 2020, 8:37 AM
Differential Revision
D68912: Adds -Wrange-loop-analysis to -Wall
Parents
rG1d549cff48cd: [NFC] Fixes -Wrange-loop-analysis warnings
Branches
Unknown
Tags
Unknown