[llvm-commits] [llvm] r145993 - /llvm/trunk/lib/CodeGen/MachineBlockPlacement.cpp
Jakub Staszak
kubastaszak at gmail.com
Tue Dec 6 16:12:53 PST 2011
On Dec 7, 2011, at 1:06 AM, Chandler Carruth wrote:
> On Tue, Dec 6, 2011 at 3:59 PM, Jakub Staszak <jstaszak at apple.com> wrote:
> Author: kuba
> Date: Tue Dec 6 17:59:33 2011
> New Revision: 145993
>
> URL: http://llvm.org/viewvc/llvm-project?rev=145993&view=rev
> Log:
> - Remove unneeded #includes.
> - Remove unused types/fields.
> - Add some constantness.
>
> Thanks for the cleanups! Any general comments on the code is also welcome. =D
>
> /// \brief Iterator over blocks within the chain.
> - typedef SmallVectorImpl<MachineBasicBlock *>::iterator iterator;
> - typedef SmallVectorImpl<MachineBasicBlock *>::reverse_iterator
> + typedef SmallVectorImpl<MachineBasicBlock *>::const_iterator iterator;
> + typedef SmallVectorImpl<MachineBasicBlock *>::const_reverse_iterator
> reverse_iterator;
>
> Is this one still needed? You deleted the rbegin/rend methods…
I just noticed that, removed in r145995.
- Kuba
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20111207/9bce8d46/attachment.html>
More information about the llvm-commits
mailing list