I'm looking a for a way to cause trailing return types to always be put on a new line. I noticed clang format will do this with long declarations, but will not if it's short enough. Is there a way to change this?
Ex.
auto foo() -> std::optional<std::string>
{
// ...
}
Becomes
auto foo()
-> std::optional<std::string>
{
// ...
}