From dc422e968e73790178e500f506e8fb7cfa1e62ea Mon Sep 17 00:00:00 2001 From: Mark de Wever Date: Sat, 11 Jan 2020 19:03:22 +0100 Subject: [PATCH] Add -Wrange-loop-analysis changes to ReleaseNotes This reflects the recent changes done. --- clang/docs/ReleaseNotes.rst | 4 ++++ 1 file changed, 4 insertions(+) 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 -------------------------------------------------