Is there a flag in clang-format to change 'const west' to 'east const', so that the following:
void fun(const std::string &s);
would be reformatted to:
void fun(std::string const &s);
Is there a flag in clang-format to change 'const west' to 'east const', so that the following:
void fun(const std::string &s);
would be reformatted to:
void fun(std::string const &s);
As of Clang-Format 14, there is QualifierAlignment
. Add the following line to your .clang-format configuration file:
QualifierAlignment: Right