[clang][NFC] Use llvm::count_if instead of manual loop
authorTimm Bäder <tbaeder@redhat.com>
Sun, 14 May 2023 07:45:51 +0000 (09:45 +0200)
committerTimm Bäder <tbaeder@redhat.com>
Tue, 16 May 2023 13:35:05 +0000 (15:35 +0200)
commit2dc435a59d565849ef62ae3c63dd4fc79a3e16f3
tree8eb4da2a894a2123b59384e8e6290c60a0fae578
parentc9f88e5bf027edcebd3ecbc2cebcda57887e04cf
[clang][NFC] Use llvm::count_if instead of manual loop
clang/lib/Frontend/DiagnosticRenderer.cpp