[LLVMdev] lld coding style

Nick Kledzik kledzik at apple.com
Mon Oct 6 18:03:04 PDT 2014


On Oct 6, 2014, at 5:02 PM, Rui Ueyama <ruiu at google.com> wrote:
> On Mon, Oct 6, 2014 at 5:00 PM, Nick Kledzik <kledzik at apple.com> wrote:
> On Oct 6, 2014, at 3:44 PM, Rui Ueyama <ruiu at google.com> wrote:
>> 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.
>> 
>> I'm going to create a patch to rename all variables if no one objects.
> 
> I object!
> 
> I'd like to hear the reason. :)

Up until now the thread has been about “formatting”.  You suggested renaming every variable in the project!



On Oct 6, 2014, at 5:37 PM, Chris Lattner <clattner at apple.com> wrote:
> Right.  Specifically, why is it for the “greater good” to perpetuate a schism between lld and the rest of llvm?
> 

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".

-Nick


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141006/5bdf4db3/attachment.html>


More information about the llvm-dev mailing list