[clang-tools-extra] [clang-tidy] introduce a must use check (PR #76101)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 21 07:06:05 PST 2023
================
@@ -187,6 +187,13 @@ New checks
points in a coroutine. Such hostile types include scoped-lockable types and
types belonging to a configurable denylist.
+- New :doc:`misc-must-use
+ <clang-tidy/checks/misc/must-use>` check.
+
+ Add the ability to strictly enforce variables are used for specific classes,
+ even with they would not be normally warned using -Wunused-variable due
----------------
EugeneZelenko wrote:
Please highlight `-Wunused-variable` with single back-ticks.
https://github.com/llvm/llvm-project/pull/76101
More information about the cfe-commits
mailing list