Skip to content

Commit

Permalink
[Clang] Added release note for improved -Wunused-but-set-variable war…
Browse files Browse the repository at this point in the history
…ning
  • Loading branch information
davidbolvansky committed Mar 25, 2022
1 parent 5bf86d9 commit 520c8ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions clang/docs/ReleaseNotes.rst
Expand Up @@ -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)
<https://github.com/llvm/llvm-project/issues/50794>`_.
- ``-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
Expand Down

0 comments on commit 520c8ca

Please sign in to comment.