Skip to content

Commit 1f27fe6

Browse files
committed
-Wunused-but-set-parameter/-Wunused-but-set-variable Add to the release notes
Differential Revision: https://reviews.llvm.org/D109642
1 parent f6b09e3 commit 1f27fe6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

clang/docs/ReleaseNotes.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ New Compiler Flags
7272
- ``-Wreserved-identifier`` emits warning when user code uses reserved
7373
identifiers.
7474

75+
- ``Wunused-but-set-parameter`` and ``-Wunused-but-set-variable`` emit warnings
76+
when a parameter or a variable is set but not used.
77+
7578
- ``-fstack-usage`` generates an extra .su file per input source file. The .su
7679
file contains frame size information for each function defined in the source
7780
file.

0 commit comments

Comments
 (0)