From: Dávid Bolvanský Date: Fri, 25 Mar 2022 09:45:08 +0000 (+0100) Subject: [Clang] Added release note for improved -Wunused-but-set-variable warning X-Git-Tag: upstream/15.0.7~12353 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=520c8ca9d2f940dd93618ad98c445573f13aa714;p=platform%2Fupstream%2Fllvm.git [Clang] Added release note for improved -Wunused-but-set-variable warning --- diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index b268d0f..cb2d81e 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -93,6 +93,8 @@ Improvements to Clang's diagnostics extension definitions of an inline namespace and therefore points its note at the original definition. This fixes `Issue 50794 (PR51452) `_. +- ``-Wunused-but-set-variable`` now also warns if the variable is only used + by unary operators. Non-comprehensive list of changes in this release - The builtin function __builtin_dump_struct would crash clang when the target