[Development] Resolving coding style contentions

Thiago Macieira thiago.macieira at intel.com
Mon Nov 19 21:55:41 CET 2018


On Monday, 19 November 2018 12:41:46 PST Thiago Macieira wrote:
> It is allowed, unless the maintainer objects to it.
> 
> I object to it in QtCore.

I also insist that the opening brace in non-nested classes, enums and in any 
functions be placed in a new line (unless the entire function is in one line)

bool X::foo() { return m_value; }	// ok

class Foo { // not ok
public:
    bool foo() const { // not ok
        return m_value;
    } 
};

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center






More information about the Development mailing list