[llvm] llvm-cov: Fix a grammar error (PR #179450)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 7 07:20:22 PST 2026
================
@@ -472,7 +472,10 @@ std::unique_ptr<CoverageMapping> CodeCoverageTool::load() {
auto Coverage = std::move(CoverageOrErr.get());
unsigned Mismatched = Coverage->getMismatchedCount();
if (Mismatched) {
- warning(Twine(Mismatched) + " functions have mismatched data");
+ if Mismatched
+ == 1 warning(Twine(Mismatched) + " function has mismatched data");
+ else
+ warning(Twine(Mismatched) + " functions have mismatched data");
----------------
cerdelen wrote:
Im sorry. No excuse.
I corrected the file and it compiles not with cmake. I cannot find any occurence of the string in any test if i try to grep for it in the whole project so i dont think there is any other place i have to change something.
https://github.com/llvm/llvm-project/pull/179450
More information about the llvm-commits
mailing list