[clang-tools-extra] clang-tidy/misc: introduce a must use check (PR #76101)

2023-12-20 Thread via cfe-commits
github-actions[bot] wrote: Thank you for submitting a Pull Request (PR) to the LLVM Project! This PR will be automatically labeled and the relevant teams will be notified. If you wish to, you can add reviewers by using the "Reviewers" section on this page. If this is not working for you, it i

[clang-tools-extra] clang-tidy/misc: introduce a must use check (PR #76101)

2023-12-20 Thread Tyler Rockwood via cfe-commits
https://github.com/rockwotj created https://github.com/llvm/llvm-project/pull/76101 Introduce a new (off by default) clang tidy check to ensure that variables of a specific type are always used even if -Wunused-variables wouldn't generate a warning. This check has already caught a couple of d