[cfe-dev] [RFC] Add -Wrange-loop-analysis to -Wall
Mark de Wever via cfe-dev
cfe-dev at lists.llvm.org
Sat Aug 3 04:45:46 PDT 2019
I started to work on bug 32823 "Warn about accidental coping of data in
range based for" [1] and quickly discovered the feature request was
already done when using the -Wrange-loop-analysis compiler option.
Since the -Wfor-loop-analysis is already part of -Wall I feel
-Wrange-loop-analysis should also be part of -Wall. If this is wanted I
post the attached patch to the Phabricator.
[1] https://bugs.llvm.org/show_bug.cgi?id=32823
Regards,
Mark de Wever
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 32823.patch
Type: text/x-diff
Size: 508 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20190803/70249bca/attachment.patch>
More information about the cfe-dev
mailing list