clang-format with better support for nested C++ templates

Viewed 387

I'm looking into using clang-format for enforcing C++ code style. It mostly fits my requirements except for the fact that it pretty much has no settings for formatting complex template structures like

template<typename ... params> 
    std::enable_if<
        std::is_same<...,...>::value ||
        std::is_same<...,...>::value,
        void>::type

Are there any forks of clang-format that give you more control over these constructs?

Any other tools that might do the trick?

0 Answers
Related