[LLVMdev] lld coding style

Tim Northover t.p.northover at gmail.com
Sun Oct 5 14:26:01 PDT 2014


> So with that in mind, I would like to ask, would it be possible to consider
> switching to LLVM style for lld?

One particular feature of lld's current style is particularly dodgy:
starting member variables with '_' makes undefined behaviour very easy
to introduce (if the first real char is upper case; there's already
plenty of examples).

It's one of the more innocuous forms of UB, but still bad form for an
LLVM project. If even we can't get it right...

Cheers.

Tim.



More information about the llvm-dev mailing list