Clang-format and space between constructor initialization list and empty braces

185 views Asked by At

Given this trivial C++ class definition:

class NotFound : public std::logic_error {
public:
    explicit NotFound(const char *s): std::logic_error(s){};
}

What option in clang-format controls whether or not to insert a space between the call to the superclass constructor and the empty braces for the constructor definition?

1

There are 1 answers

0
xvymnp On

SpaceBeforeCpp11BracedList: true