[cfe-dev] Bug in DoStmt?
Chris Lattner
clattner at apple.com
Fri Jun 12 16:05:08 PDT 2009
On Jun 11, 2009, at 2:14 AM, Olaf Krzikalla wrote:
> class DoStmt
> {
> //...
> virtual SourceRange getSourceRange() const {
> return SourceRange(DoLoc, SubExprs[BODY]->getLocEnd());
>
> IMHO this should be:
> return SourceRange(DoLoc, SubExprs[COND]->getLocEnd());
> }
> //...
> };
Fixed here, thanks:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20090608/018109.html
-Chris
More information about the cfe-dev
mailing list