Uncrustify for c++ adds closed parenthesis after comma templated parameters

213 Views Asked by At

I have the following function:

template<typename Gender, typename Age> bool checkSomething( param1, param2, param3)
{...}

when I put the following function call through Uncrustify:

if( somethingChanged == checkSomething<Female, OverThirty>( param1, param2, param3)) 
{...}

it changes it to

if( somethingChanged == checkSomething<Female) , OverThirty>( param1, param2, param3)) 
{...}

Notice the extra closed parenthesis after Female

This obviously breaks my code. I would appreciate any ideas about how to turn it off.

0

There are 0 best solutions below