[cfe-commits] r173292 - /cfe/trunk/lib/StaticAnalyzer/Checkers/NoReturnFunctionChecker.cpp

Ted Kremenek kremenek at apple.com
Wed Jan 23 14:22:46 PST 2013


On Jan 23, 2013, at 1:50 PM, David Blaikie <dblaikie at gmail.com> wrote:

> On Wed, Jan 23, 2013 at 1:12 PM, Ted Kremenek <kremenek at apple.com> wrote:
>> Author: kremenek
>> Date: Wed Jan 23 15:12:49 2013
>> New Revision: 173292
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=173292&view=rev
>> Log:
>> Add missing null check.  Not sure why my tests passed before.
> 
> Did the old code fail if you added an assert(MD) in it? If not, it
> sounds like there's a missing test case that might be good to add. (if
> it did fail, then somehow you were getting lucky with the way hasAttr
> was accessing memory near address zero? Which would be rather
> surprising, but if true, there's not really any test to add)

Nothing so complicated.  The buildbots caught it.  Somehow I did something very silly and didn't run the tests correctly.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130123/8573f02e/attachment.html>


More information about the cfe-commits mailing list