[cfe-commits] r79509 - /cfe/trunk/lib/Analysis/CFG.cpp

Ted Kremenek kremenek at apple.com
Wed Aug 19 21:42:06 PDT 2009


On Aug 19, 2009, at 8:21 PM, Zhongxing Xu wrote:

> Author: zhongxingxu
> Date: Wed Aug 19 22:21:49 2009
> New Revision: 79509
>
> URL: http://llvm.org/viewvc/llvm-project?rev=79509&view=rev
> Log:
> If the 'while' has an empty body, set the body to the continue  
> target block.
> Although this does not make the CFG more correct, it makes the CFG  
> more
> beautiful without multiple roots.

It actually does make the CFG more correct, as their is an empty  
continue block used by BugReporter when generating diagnostics.   
Thanks Zhongxing!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20090819/d6b21e81/attachment.html>


More information about the cfe-commits mailing list