[llvm-dev] RFC: changing variable naming rules in LLVM codebase (original) (raw)
via llvm-dev llvm-dev at lists.llvm.org
Fri Feb 22 12:51:04 PST 2019
- Previous message: [llvm-dev] RFC: changing variable naming rules in LLVM codebase
- Next message: [llvm-dev] RFC: changing variable naming rules in LLVM codebase
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Chandler wrote:
- Local variables and formal parameters should be lowercase, with one exception: Variables/parameters that have lambda/function type should follow the function-name spelling rules. I really dislike this exception. Callable objects are objects and locally scoped, I would much prefer they look like variables. Also, what about callable objects that aren't lambdas? Or that use operator() for something other than emulating a function call? I think the simple rule is superior.
Hm I was probably mis-remembering your opinion from earlier, as this was supposed to be accommodating it! I'm happy to trash the exception. --paulr
- Previous message: [llvm-dev] RFC: changing variable naming rules in LLVM codebase
- Next message: [llvm-dev] RFC: changing variable naming rules in LLVM codebase
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]