[llvm] llvm-cov: Fix a grammar error (PR #179450)
Benjamin Maxwell via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 7 14:00:03 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");
----------------
MacDue wrote:
Please read: https://llvm.org/docs/Contributing.html#how-to-submit-a-patch :slightly_smiling_face:
This patch still would not pass LLVM's CI as it's not properly formatted.
https://github.com/llvm/llvm-project/pull/179450
More information about the llvm-commits
mailing list