[llvm-dev] Variable names rule

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 4 11:37:20 PST 2019


On Mon, 4 Feb 2019 at 17:20, JD Jones via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> ·         Non-static data members:           _<lowerCaseLetterThenCamelCase> (This was allowed by the C++ standard I last read. It’s _<UpperCase> that is reserved)

This is about the one thing I'd be truly unhappy to see us adopt (for
any situation). I think the interaction with acronyms is just too
pathological. You get a really weird identifier or UB, possibly
without even knowing it.

Tim.


More information about the llvm-dev mailing list