[clang-tools-extra] [clang-tidy] Filter out googletest TUs in bugprone-unchecked-optional-access (PR #115051)

Julian Schmidt via cfe-commits cfe-commits at lists.llvm.org
Fri Dec 6 16:00:30 PST 2024


================

----------------
5chmidti wrote:

Please also add an `ASSERT_FALSE` (or just `ASSERT_TRUE(!opt.has_value())`) with a dereference after, to show that there are false-negatives

https://github.com/llvm/llvm-project/pull/115051


More information about the cfe-commits mailing list