A common practice is to move the parenthesis opening function to the next line. How to apply this in a class beastifier class method?
Example:
// this is an initial C++ code class Class { public: static int foo(bool x) { if (x) { return 42; } else { return 0; } } };
the modified version should be:
class Class { public: static int foo(bool x) {
All my attempts work only for global functions.
Kokos source share