diff options
| author | George Karpenkov <ekarpenkov@apple.com> | 2018-12-21 19:13:28 +0000 |
|---|---|---|
| committer | George Karpenkov <ekarpenkov@apple.com> | 2018-12-21 19:13:28 +0000 |
| commit | 79f0340c5329b2e21ed76c7b14873ce1d5f9ce64 (patch) | |
| tree | 7766623cbfcff98d5d9c7a19f14627fb458be679 /clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp | |
| parent | 80187b8a17ed8feedddf809ecc1cedd60dd0f72d (diff) | |
| download | bcm5719-llvm-79f0340c5329b2e21ed76c7b14873ce1d5f9ce64.tar.gz bcm5719-llvm-79f0340c5329b2e21ed76c7b14873ce1d5f9ce64.zip | |
[analyzer] Correct the summary violation diagnostics for the retain count checker
It should be in the past tense.
llvm-svn: 349938
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp')
| -rw-r--r-- | clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp index 8fdd105f189..74dd1e149ef 100644 --- a/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp +++ b/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/RetainCountDiagnostics.cpp @@ -285,7 +285,7 @@ annotateConsumedSummaryMismatch(const ExplodedNode *N, 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"; } } |

