[cfe-dev] [LLVMdev] draft rule for naming types/functions/variables
rcsaba at gmail.com
Mon Nov 29 07:21:45 CST 2010
On Mon, Nov 29, 2010 at 8:02 AM, Anton Korobeynikov wrote:
> MachineInstr *MI looks much better than MachineInstr *mi, etc.
Traditionally (in C), all-uppercase names have been reserved for
macros. Of course, real C++ programmers don't use macros... :)
Still, looking at an identifier e.g. FROM, it's not immediately clear
that it's not a macro but an instance of FastResponseOuterMethod.
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
More information about the cfe-dev