I have an if
condition of the following form:
if ((foo == cond1)
&& (bar == cond2))
{
// Code
}
Without the break inside the condition, the line is not too long for clang-format
. Thus it is corrected as:
if ((foo == cond1) && (bar == cond2))
{
// Code
}
How can I let clang-format
accept extra breaks in this situation (and if possible, other contexts) ?
I currently use LLVM's default configuration.