From 09ffeba55230ccfa7454ab97a54f8b61a6e69ef1 Mon Sep 17 00:00:00 2001 From: Anna Zaks Date: Mon, 15 Oct 2012 22:48:17 +0000 Subject: [PATCH] [analyzer] Enhance the error message. llvm-svn: 165993 --- clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp b/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp index a88b636..462066a 100644 --- a/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp +++ b/clang/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, -- 2.7.4