[clang] dc422e9 - Add -Wrange-loop-analysis changes to ReleaseNotes

Mark de Wever via cfe-commits cfe-commits at lists.llvm.org
Sat Jan 11 10:56:56 PST 2020


Author: Mark de Wever
Date: 2020-01-11T19:56:34+01:00
New Revision: dc422e968e73790178e500f506e8fb7cfa1e62ea

URL: https://github.com/llvm/llvm-project/commit/dc422e968e73790178e500f506e8fb7cfa1e62ea
DIFF: https://github.com/llvm/llvm-project/commit/dc422e968e73790178e500f506e8fb7cfa1e62ea.diff

LOG: Add -Wrange-loop-analysis changes to ReleaseNotes

This reflects the recent changes done.

Added: 
    

Modified: 
    clang/docs/ReleaseNotes.rst

Removed: 
    


################################################################################
diff  --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index eee63c8e9239..e131e4f12780 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -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
 -------------------------------------------------


        


More information about the cfe-commits mailing list