search for: lower_case

Displaying 20 results from an estimated 21 matches for "lower_case".

2014 Oct 13
3
[LLVMdev] RFC: variable names
> If we are going to change how we name variables, I very much want them to > not collide with either type names or function names. My suggestion would be > "lower_case" names. > > This also happens to be the vastly most common pattern across all C++ coding > styles and C-based language coding styles I have seen. STL has "lower_case" functions, and exposes far fewer variables. I can't really recall which of myFunc/my_var or my_func/myV...
2019 Feb 22
11
RFC: changing variable naming rules in LLVM codebase
...Regarding making data-member names distinct from local variables, some people don't see why it should matter, others find it helpful; given this neutral-to-helpful spectrum, going with the kind-of helpful convention seems preferable. So: - Local variables and formal parameters should be lower_case, with one exception: Variables/parameters that have lambda/function type should follow the function-name spelling rules. - Class data members should have an "m_" prefix, so m_lower_case. - Initialisms and other abbreviations would be considered words for this purpose, so we have na...
2019 Feb 22
3
RFC: changing variable naming rules in LLVM codebase
...easier for me to read the code" and on the other side "meh, I don't see the benefit"; however I do *not* see anyone saying "No, this really would interfere with my code-reading." > > > So: > > > > - Local variables and formal parameters should be lower_case, with > > one exception: Variables/parameters that have lambda/function > > type should follow the function-name spelling rules. > > "lower_case" is a pretty drastic change from CamelCase and camelCase. > So far the only argument for it I've seen is, "ll...
2014 Oct 13
16
[LLVMdev] RFC: variable names
I’d like to discuss revising the LLVM coding conventions to change the naming of variables to start with a lowercase letter. This should not be a discussion on the pain of such a transition, or how to get from here to there, but rather, if there is a better place to be. My arguments for the change are: 1. No other popular C++ coding style uses capitalized variable names. For instance here
2018 Jul 10
2
RFC: should we spell lambdas like functions?
> On Jul. 5, 2018, at 18:12, Bruce Hoult via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > > > On Thu, Jul 5, 2018 at 5:30 PM, Adrian Prantl via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote: > > > > On Jul 5, 2018, at 1:09 PM, Rui Ueyama via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at
2019 Jun 07
2
RFC: changing variable naming rules in LLVM codebase
This thread is not active for a while, but I'm still interested in seeing a change. 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. 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...
2019 Jun 10
2
RFC: changing variable naming rules in LLVM codebase
...active for a while, but I'm still interested in seeing > a change. > > > > 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. > > > > I'd personally vote for changing local variables to start with a lowercase > letter and keep other naming conve...
2019 Jul 09
4
RFC: changing variable naming rules in LLVM codebase
...ead is not active for a while, but I'm still interested in seeing a change. > > > > 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. > > > > I'd personally vote for changing local variables to start with a lowercase letter and keep other naming conventions as-i...
2019 Jul 09
2
RFC: changing variable naming rules in LLVM codebase
.... >>>> >>>> >>>> >>>> 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. >>>> >>>> >>>> >>>> I'd personally vote for changing local var...
2019 Jul 09
2
RFC: changing variable naming rules in LLVM codebase
...eeing a change. >>>>> >>>>> >>>>> >>>>> 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. >>>>> >>>>> >>>>> >>>>> I'd personally vote for changing local variables to star...
2019 Jul 10
3
RFC: changing variable naming rules in LLVM codebase
...gt;>>>> >>>>> >>>>> 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. >>>>> >>>>> >>>>> >>>>> I'd personally vot...
2019 Feb 22
2
RFC: changing variable naming rules in LLVM codebase
On Fri, Feb 22, 2019 at 12:39 PM Chandler Carruth via llvm-dev < llvm-dev at lists.llvm.org> wrote: > On Fri, Feb 22, 2019 at 5:59 AM via llvm-dev <llvm-dev at lists.llvm.org> > wrote: > >> - Local variables and formal parameters should be lower_case, 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. &g...
2019 May 21
2
RFC: changing variable naming rules in LLVM codebase
Hi folks, 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. 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. A preview release of Git with this new feature is at:
2019 Jul 10
4
RFC: changing variable naming rules in LLVM codebase
...>>>> >>>>>>> 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. >>>>>>> >>>>>>> >>>>>>> &gt...
2019 Feb 20
2
RFC: changing variable naming rules in LLVM codebase
> On Feb 19, 2019, at 7:43 AM, Alex Bradbury via llvm-dev <llvm-dev at lists.llvm.org> wrote: > > On Tue, 19 Feb 2019 at 15:24, Zachary Turner <zturner at google.com> wrote: >> On Mon, Feb 18, 2019 at 2:16 AM Michael Platings via llvm-dev <llvm-dev at lists.llvm.org> wrote: >>> >>> Regarding a plan for conversion, I'm keen to avoid perfect
2019 Jul 12
5
RFC: changing variable naming rules in LLVM codebase
...but I'm still interested in >> seeing a change. >> >> 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. >> >> I'd personally vote for changing local variables to start with a >> lowercase letter and keep other n...
2015 Mar 11
3
[LLVMdev] [RFC] Raise minimum required CMake version to 3.0
On Tue, Mar 10, 2015 at 8:47 PM, Rafael Espíndola < rafael.espindola at gmail.com> wrote: > > However, everyone seems to think I'm advocating we never move the CMake > > version forward. That isn't what I'm saying at all. What I am saying is > that > > moving the CMake version forward has a cost. Not a huge insurmountable > cost, > > but non-zero
2014 Oct 13
5
[LLVMdev] RFC: variable names
...> Variable names: ??? > > If we name variables in camelCase then variable names and function names > collide. > > If we are going to change how we name variables, I very much want them to > not collide with either type names or function names. My suggestion would > be "lower_case" names. > I think this would be bad: function(); lambda(); longFunction(); long_lambda(); ... but possibly not in practice, since function names rarely have only one word. A partial-camel-case, partly-underscores convention sounds strange to me. (I don't find this to be prob...
2019 Jul 18
4
RFC: changing variable naming rules in LLVM codebase
...in > >> seeing a change. > >> > >> 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. > >> > >> I'd personally vote for changing local variables to start with a > >> lowercase...
2012 Jul 26
16
[vmw_vmci 00/11] VMCI for Linux
In an effort to improve the out-of-the-box experience with Linux kernels for VMware users, VMware is working on readying the Virtual Machine Communication Interface (vmw_vmci) and VMCI Sockets (vmw_vsock) kernel modules for inclusion in the Linux kernel. The purpose of this post is to acquire feedback on the vmw_vmci kernel module. The vmw_vsock kernel module will be presented in a later post.