[llvm-branch-commits] [clang] 1f27fe6 - -Wunused-but-set-parameter/-Wunused-but-set-variable Add to the release notes
Sylvestre Ledru via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Sep 14 00:33:51 PDT 2021
Author: Sylvestre Ledru
Date: 2021-09-14T09:33:35+02:00
New Revision: 1f27fe6128769f00197925c3b8f6abb9d0e5cd2e
URL: https://github.com/llvm/llvm-project/commit/1f27fe6128769f00197925c3b8f6abb9d0e5cd2e
DIFF: https://github.com/llvm/llvm-project/commit/1f27fe6128769f00197925c3b8f6abb9d0e5cd2e.diff
LOG: -Wunused-but-set-parameter/-Wunused-but-set-variable Add to the release notes
Differential Revision: https://reviews.llvm.org/D109642
Added:
Modified:
clang/docs/ReleaseNotes.rst
Removed:
################################################################################
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst
index e7fdd69542e16..eb17ab7be2b45 100644
--- a/clang/docs/ReleaseNotes.rst
+++ b/clang/docs/ReleaseNotes.rst
@@ -72,6 +72,9 @@ New Compiler Flags
- ``-Wreserved-identifier`` emits warning when user code uses reserved
identifiers.
+- ``Wunused-but-set-parameter`` and ``-Wunused-but-set-variable`` emit warnings
+ when a parameter or a variable is set but not used.
+
- ``-fstack-usage`` generates an extra .su file per input source file. The .su
file contains frame size information for each function defined in the source
file.
More information about the llvm-branch-commits
mailing list