llvm/llvm-project
View on GitHubclang-tidy: readability-implicit-bool-conversion not working with std::optional
Open
#56,009 opened on Jun 13, 2022
clang-tidygood first issue
Repository metrics
- Stars
- (26,378 stars)
- PR merge metrics
- (Avg merge 1d 2h) (1,000 merged PRs in 30d)
Description
I am using llvm-13.0.1
I would expect this to trigger a warning:
std::optional<int> x = false;