disable spaces in single line function in clang-format

Viewed 16

In our code base we use the following style for single line functions:

int func() {return 1;}

However clang-format formats this as:

int func() { return 1; }

Is there a setting for clang-format to disable these spaces?

0 Answers
Related