From: Anna Zaks <ganna@apple.com> Date: Mon, 15 Oct 2012 22:48:17 +0000 (+0000) Subject: [analyzer] Enhance the error message. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=51431dcf4a591ded089a56aaa985bb546cec8ce4;p=clang [analyzer] Enhance the error message. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165993 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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,