<div dir="ltr"><div>This thread is not active for a while, but I'm still interested in seeing a change.<div><br></div><div>Reading through this thread, looks like we can agree that we want to change the local variable naming scheme so that they start with a lowercase letter. Besides that, there were discussions about lower_case, camelCase, m_ prefix, and each argument seems as convincing as others. I'm not sure what is the decision making process in a situation like this.</div><div><br></div><div>I'd personally vote for changing local variables to start with a lowercase letter and keep other naming conventions as-is to make it a minimum change.</div><div><br></div><div>As I stated before, I'm happy to make a change to lld to see how a naming convention change will look like, but in order to do that I need to get at least a rough consensus to do that. What is a way to proceed?</div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 25, 2019 at 3:00 PM Chris Lattner via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hi Michael,<div><br></div><div>I’m still very interested in seeing a change here.  If someone is interested in seeing a codebase using the proposed camelBack convention for variables names, the <a href="https://github.com/tensorflow/mlir" target="_blank">MLIR codebase is public</a> and uses it.</div><div><br></div><div>If you’re curious to see what this looks like in practice, there are lots of examples in the codebase, here is <a href="https://github.com/tensorflow/mlir/blob/master/lib/Transforms/LoopUnrollAndJam.cpp" target="_blank">an example .cpp file</a>, <a href="https://github.com/tensorflow/mlir/blob/master/lib/Parser/Parser.cpp" target="_blank">here is another</a>, here is an <a href="https://github.com/tensorflow/mlir/blob/master/include/mlir/IR/Location.h" target="_blank">example header</a>.</div><div><br></div><div><br></div><div>We are still working our way through open sourcing logistics (not all the code is out yet), but we would still like to contribute at least parts of this to LLVM if the project is interested.  [[This is just an FYI, not itself a proposal yet - one will be coming when we’re ready.]]</div><div><br></div><div>-Chris</div><div><br><div><br><blockquote type="cite"><div>On May 21, 2019, at 3:01 AM, Michael Platings via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="gmail-m_8297445749888017766Apple-interchange-newline"><div><div>Hi folks,<br><br>Git is on its way to learning how to ignore commits, allowing us to do variable renaming and other small refactorings without breaking git blame.<br><br>It's like git-hyper-blame [1] but significantly more powerful as it uses fuzzy matching to match lines, including lines that may have been split or joined.<br><br>A preview release of Git with this new feature is at: <a href="https://github.com/mplatings/git/releases/tag/ignore-rev" target="_blank">https://github.com/mplatings/git/releases/tag/ignore-rev</a><br><br>Some of you have told me that you already have to spend time running git blame multiple times to look past uninteresting commits so I'd love for you to give this feature a try and see if it helps you. Your feedback will be very valuable.<br><br>Thanks,<br>-Michael<br><br>[1] <a href="https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/git-hyper-blame.html" target="_blank">https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/git-hyper-blame.html</a><br>_______________________________________________<br>LLVM Developers mailing list<br><a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br><a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br></div></div></blockquote></div><br></div></div>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a><br>
<a href="https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</blockquote></div>