llvm/llvm-project
Vedi su GitHubclang-tidy: readability-implicit-bool-conversion not working with std::optional
Open
#56.009 aperta il 13 giu 2022
clang-tidygood first issue
Metriche repository
- Star
- (26.378 star)
- Metriche merge PR
- (Merge medio 1g 2h) (1000 PR mergiate in 30 g)
Descrizione
I am using llvm-13.0.1
I would expect this to trigger a warning:
std::optional<int> x = false;