[cfe-commits] r56319 - /cfe/trunk/lib/Analysis/CheckNSError.cpp
Ted Kremenek
kremenek at apple.com
Thu Sep 18 16:23:19 PDT 2008
Author: kremenek
Date: Thu Sep 18 18:23:19 2008
New Revision: 56319
URL: http://llvm.org/viewvc/llvm-project?rev=56319&view=rev
Log:
Register the implicit null-dereferenced object as a notable symbol.
Modified:
cfe/trunk/lib/Analysis/CheckNSError.cpp
Modified: cfe/trunk/lib/Analysis/CheckNSError.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/CheckNSError.cpp?rev=56319&r1=56318&r2=56319&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/CheckNSError.cpp (original)
+++ cfe/trunk/lib/Analysis/CheckNSError.cpp Thu Sep 18 18:23:19 2008
@@ -149,6 +149,7 @@
<< Param->getName() << "' may be null.";
desc = os.str().c_str();
+ BR.addNotableSymbol(SV->getSymbol());
BR.EmitWarning(R);
}
}
More information about the cfe-commits
mailing list