[cfe-commits] r165993 - /cfe/trunk/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp

Anna Zaks ganna at apple.com
Mon Oct 15 15:48:17 PDT 2012


Author: zaks
Date: Mon Oct 15 17:48:17 2012
New Revision: 165993

URL: http://llvm.org/viewvc/llvm-project?rev=165993&view=rev
Log:
[analyzer] Enhance the error message.

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp?rev=165993&r1=165992&r2=165993&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp Mon Oct 15 17:48:17 2012
@@ -389,7 +389,7 @@
         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,





More information about the cfe-commits mailing list