llvm/llvm-project
Auf GitHub ansehenclang-tidy: readability-implicit-bool-conversion not working with std::optional
Open
#56.009 geöffnet am 13. Juni 2022
clang-tidygood first issue
Repository-Metriken
- Stars
- (26.378 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 1T 2h) (1.000 gemergte PRs in 30 T)
Beschreibung
I am using llvm-13.0.1
I would expect this to trigger a warning:
std::optional<int> x = false;