[lld] r317380 - Fix variable name.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 3 20:36:59 PDT 2017


Hmm, I ran clang-format, this is what it output.  To be honest I didn't
even look at the code before comitting.

On Fri, Nov 3, 2017 at 8:30 PM Rafael Avila de Espindola <
rafael.espindola at gmail.com> wrote:

> Zachary Turner via llvm-commits <llvm-commits at lists.llvm.org> writes:
>
> >      size_t I = 0;
> > -    for (const SymbolTableEntry &S : Symbols)
> > -      S.Symbol->DynsymIndex = ++I;
> > +    for (const SymbolTableEntry &S : Symbols) S.Sym->DynsymIndex = ++I;
>
> I don't think we normally format loops like that.
>
> Cheers,
> Rafael
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171104/1ba74e8a/attachment.html>


More information about the llvm-commits mailing list