Add -Wrange-loop-analysis changes to ReleaseNotes
authorMark de Wever <koraq@xs4all.nl>
Sat, 11 Jan 2020 18:03:22 +0000 (19:03 +0100)
committerMark de Wever <koraq@xs4all.nl>
Sat, 11 Jan 2020 18:56:34 +0000 (19:56 +0100)
This reflects the recent changes done.

clang/docs/ReleaseNotes.rst

index eee63c8..e131e4f 100644 (file)
@@ -64,6 +64,10 @@ Improvements to Clang's diagnostics
 - -Wbitwise-conditional-parentheses will warn on operator precedence issues
   when mixing bitwise-and (&) and bitwise-or (|) operator with the
   conditional operator (?:).
+- -Wrange-loop-analysis got several improvements. It no longer warns about a
+  copy being made when the result is bound to an rvalue reference. It no longer
+  warns when an object of a small, trivially copyable type is copied. The
+  warning now offers fixits. It is now part of -Wall.
 
 Non-comprehensive list of changes in this release
 -------------------------------------------------