[llvm-commits] [llvm] r82376 - /llvm/trunk/include/llvm/Target/TargetRegistry.h

Chris Lattner clattner at apple.com
Sun Sep 20 14:54:08 PDT 2009


On Sep 20, 2009, at 2:31 PM, Daniel Dunbar wrote:

> On Sat, Sep 19, 2009 at 11:21 PM, Chris Lattner <sabre at nondot.org>  
> wrote:
>> Author: lattner
>> Date: Sun Sep 20 01:21:20 2009
>> New Revision: 82376
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=82376&view=rev
>> Log:
>> add a helper method.
>
> Isn't std::distance fine for this?

Yes, but pulling in  <algorithm> isn't worth it.

-Chris



More information about the llvm-commits mailing list