| commit | 79f0340c5329b2e21ed76c7b14873ce1d5f9ce64 | [log] [tgz] |
|---|---|---|
| author | George Karpenkov <ekarpenkov@apple.com> | Fri Dec 21 19:13:28 2018 +0000 |
| committer | George Karpenkov <ekarpenkov@apple.com> | Fri Dec 21 19:13:28 2018 +0000 |
| tree | 7766623cbfcff98d5d9c7a19f14627fb458be679 | |
| parent | 80187b8a17ed8feedddf809ecc1cedd60dd0f72d [diff] [blame] |
[analyzer] Correct the summary violation diagnostics for the retain count checker It should be in the past tense. llvm-svn: 349938
diff --git a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp index 8fdd105..74dd1e1 100644 --- a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp
@@ -285,7 +285,7 @@ os << "Parameter '"; PVD->getNameForDiagnostic(os, PVD->getASTContext().getPrintingPolicy(), /*Qualified=*/false); - os << "' is marked as consuming, but the function does not consume " + os << "' is marked as consuming, but the function did not consume " << "the reference\n"; } }