Author: akirtzidis
Date: Tue Feb  1 13:32:55 2011
New Revision: 124674

URL: http://llvm.org/viewvc/llvm-project?rev=124674&view=rev
Log:
[analyzer] Slightly improve the diagnostic message of ObjCSelfInitChecker.

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

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp
URL: 
http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp?rev=124674&r1=124673&r2=124674&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/ObjCSelfInitChecker.cpp Tue Feb  1 
13:32:55 2011
@@ -209,7 +209,7 @@
     return;
 
   checkForInvalidSelf(E->getBase(), C,
-    "Instance variable used before setting 'self' to the result of "
+    "Instance variable used while 'self' is not set to the result of "
                                                  "'[(super or self) 
init...]'");
 }
 
@@ -221,7 +221,7 @@
     return;
 
   checkForInvalidSelf(S->getRetValue(), C,
-    "Returning 'self' before setting it to the result of "
+    "Returning 'self' while it is not set it to the result of "
                                                  "'[(super or self) 
init...]'");
 }
 


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to