Re: Gecko style: Braces with enums and uninons

2014-05-19 Thread Benjamin Smedberg
On 5/18/2014 11:16 PM, Dave Hylands wrote: My interpretation of this is that the only time braces go on the end of the line is when you're starting a control structure https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style#Control_Structures structs, enums, classes, and

Gecko style: Braces with enums and uninons

2014-05-18 Thread Birunthan Mohanathas
While working on bug 995730, I bumped into a few things that the Gecko style guide leaves unspecified. I have described one such case below. I'll create separate threads for the other things in order to maximize the number of bikeshedding threads (and for readability). For classes and structs,