[cfe-commits] Checker and respondsToCallback

Jordy Rose jediknil at belkadan.com
Thu Aug 5 12:14:08 PDT 2010


Hm. Thanks to the fact that one callback may end up indirectly invoking
another, this is not so simple. On the one hand, it does let us track the
response for any callback. On the other, ResetCallbackFlag is a kludge.

Holding off on committing for now.


On Wed, 4 Aug 2010 17:10:17 -0700, Ted Kremenek <kremenek at apple.com>
wrote:
> That's not a bad idea at all.  In fact I really like it.  The value can
> still get lazily set, but just stored with the Checker object.
> 
> On Aug 4, 2010, at 10:51 AM, Jordy Rose wrote:
> 
>> This is not a general solution, though. Alternately, we could just
stick
>> the flag in Checker rather than CheckerContext.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Checker-respondsToCallback.patch
Type: text/x-diff
Size: 9227 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20100805/83370c76/attachment.patch>


More information about the cfe-commits mailing list