[LLVMdev] [cfe-dev] draft rule for naming types/functions/variables

Chris Lattner clattner at apple.com
Sat Dec 4 17:18:07 PST 2010


On Dec 4, 2010, at 4:25 PM, Thiago Farina wrote:

> On Sat, Dec 4, 2010 at 5:14 AM, Chris Lattner <clattner at apple.com> wrote:
>> Thiago,
>> 
>> The coding standards (which have been finalized and comitted) don't dictate names for local variables.
>> 
> 
> Do you like the fact that local variables start with capital letter?
> Following the same convention used to name classes? It's a very
> strange adoption.

Yes.  FWIW, we weight people's opinions on coding conventions by the number of lines they have contributed to LLVM.  I'm sorry you don't like the current style, but it isn't going to change radically.

-Chris





More information about the llvm-dev mailing list