[cfe-commits] r45984 - /cfe/trunk/include/clang/AST/CFG.h
kremenek at apple.com
Mon Jan 14 16:17:10 PST 2008
On Jan 14, 2008, at 3:23 PM, Chris Lattner wrote:
> On Jan 14, 2008, at 3:18 PM, Ted Kremenek wrote:
>> Author: kremenek
>> Date: Mon Jan 14 17:18:55 2008
>> New Revision: 45984
>> URL: http://llvm.org/viewvc/llvm-project?rev=45984&view=rev
>> Added operator for CFGBlock. This provides random access to the
>> of a block.
> Is it a good idea to allow mutation through operator ? I'd expect
> a const CFGBlock to return a const Stmt*, what do you think?
I agree; the problem is that our the use of 'const' is not consistent
enough in some parts to make this change easily without breaking
things. I'll do a partial fix and look into cleaning up the use of
'const' once more of the past-sensitive solver is in place.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits