Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Transform][ObjCARC] Change the 'for(;;)' to a do-while
At the moment, there is a TODO item in ObjCARC just to change 'for (;;)' to a do-while. And it is the only place using 'for (;;)' in llvm. In contrary, there are many places using the do-while. It is reasonable to change the 'for(;;)' to a do-while. This commit change the 'for(;;)' to a do-while and eliminate some discord in the code.
- Loading branch information