]> granicus.if.org Git - clang/commitdiff
[analyzer] Enhance the error message.
authorAnna Zaks <ganna@apple.com>
Mon, 15 Oct 2012 22:48:17 +0000 (22:48 +0000)
committerAnna Zaks <ganna@apple.com>
Mon, 15 Oct 2012 22:48:17 +0000 (22:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165993 91177308-0d34-0410-b5e6-96231b3b80d8

lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp

index a88b6368e8235496d2f1d1f004d0b7857d4151fd..462066af5771e5502d0fecd0b5fcee1563311776 100644 (file)
@@ -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,