<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 6, 2014 at 6:03 PM, Nick Kledzik <span dir="ltr"><<a href="mailto:kledzik@apple.com" target="_blank">kledzik@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><span class="">On Oct 6, 2014, at 5:02 PM, Rui Ueyama <<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>> wrote:<br><div><blockquote type="cite"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Mon, Oct 6, 2014 at 5:00 PM, Nick Kledzik <span dir="ltr"><<a href="mailto:kledzik@apple.com" target="_blank">kledzik@apple.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><span>On Oct 6, 2014, at 3:44 PM, Rui Ueyama <<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>> wrote:<br></span><div><span><blockquote type="cite"><div dir="ltr">Looks like most people in this thread support using LLVM style in LLD. I also had an offline discussion and many people wanted to have one coding style in all LLVM projects. So I'm convinced that we should do that.<div><br></div><div>I'm going to create a patch to rename all variables if no one objects.</div></div></blockquote></span><div>I object!</div></div></div></blockquote><div><br></div><div>I'd like to hear the reason. :)</div></div></div></div></blockquote><br></div></span><div>Up until now the thread has been about “formatting”.  You suggested renaming every variable in the project!</div></div></blockquote><div><br></div><div>In this thread we all have been discussing coding style from the beginning. LLD's formatting rule is the same as LLVM so the rest is naming convention.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word"><span class=""><div></div><div><div>On Oct 6, 2014, at 5:37 PM, Chris Lattner <<a href="mailto:clattner@apple.com" target="_blank">clattner@apple.com</a>> wrote:</div><blockquote type="cite"><div style="word-wrap:break-word"><div>Right.  Specifically, why is it for the “greater good” to perpetuate a schism between lld and the rest of llvm?</div></div><br></blockquote></div></span><div>Well to turn this around, why is llvm maintaining a schism with the rest of the C++ world?  That is, lld (and probably lldb) is more like all the other C++ conventions in the world than llvm is.  If llvm had conventions like every other convention, it would be easier for outside developers to contribute to llvm and improve the "greater good".</div></div></blockquote><div><br></div><div>I understand what you mean. If I would start a project myself, I would adopt more regular-looking C++ coding style than LLVM.</div><div><br></div><div>However, the point is that LLD is a LLVM project. Most LLVM projects follow the LLVM coding style already. I think it's better to set personal preferences aside and follow the LLVM standard. That's what I'd do.</div></div></div></div>