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. _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits