diff options
author | Anna Zaks <ganna@apple.com> | 2012-10-15 22:48:17 +0000 |
---|---|---|
committer | Anna Zaks <ganna@apple.com> | 2012-10-15 22:48:17 +0000 |
commit | 51431dcf4a591ded089a56aaa985bb546cec8ce4 (patch) | |
tree | 98f2e8568e7dd29e33cef5606b210e19635337c4 /lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp | |
parent | 625ce084bc8de75e74b8920593ab761f20ff5971 (diff) |
[analyzer] Enhance the error message.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165993 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp')
-rw-r--r-- | lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp b/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp index a88b6368e8..462066af57 100644 --- a/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp +++ b/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp @@ -389,7 +389,7 @@ void IvarInvalidationChecker::checkASTDecl(const ObjCMethodDecl *D, os << "Property "<< PD->getName() << " needs to be invalidated"; } else { os << "Instance variable "<< IvarDecl->getName() - << " needs to be invalidated"; + << " needs to be invalidated or set to nil"; } BR.EmitBasicReport(D, |