[clang-tools-extra] [clang-tidy] Filter out googletest TUs in bugprone-unchecked-optional-access (PR #115051)
Congcong Cai via cfe-commits
cfe-commits at lists.llvm.org
Wed Nov 13 15:43:38 PST 2024
https://github.com/HerrCai0907 requested changes to this pull request.
I don't think it is a good way to suppress all warning when we find gtest macro.
1. it will confuse user who really want to check even in test file.
2. the user can disable this rules in test folder or even use nolint the test area.
the potential solution is treat assert_true as assert.
https://github.com/llvm/llvm-project/pull/115051
More information about the cfe-commits
mailing list