[clang-tools-extra] [clang-tidy] introduce a must use check (PR #76101)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 21 14:44:43 PST 2023
================
@@ -168,6 +168,19 @@ New checks
extracted from an optional-like type and then used to create a new instance
of the same optional-like type.
+- New :doc:`bugprone-unused-local-non-trivial-variable
+ <clang-tidy/checks/bugprone/unused-local-non-trivial-variable>` check.
+
+ Warns when a local non trivial variable is unused within a function. By
----------------
EugeneZelenko wrote:
Release Notes should contain single statement.
https://github.com/llvm/llvm-project/pull/76101
More information about the cfe-commits
mailing list