[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)
llvm-svn: 165993

clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp

index a88b636..462066a 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,