[clang-tools-extra] [clang-tidy] introduce a must use check (PR #76101)
Tyler Rockwood via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 21 09:21:50 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
----------------
rockwotj wrote:
Thanks, done.
https://github.com/llvm/llvm-project/pull/76101
More information about the cfe-commits
mailing list