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!
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to