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

Jan Voung via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 13 07:13:29 PST 2024


jvoung wrote:

Any other concerns? I think I've elaborated on why the ignore/exclude alternative is not better.

Otherwise, eventually, it would be great to be able to understand the various macros and how they could serve as checks for later accesses, but I think this is an improvement on the status quo (we've seen lots of such googletest false positives).

Thanks!

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


More information about the cfe-commits mailing list