<div dir="ltr"><div style>Hi,</div><div style>I'd like to add an additional rule to clang-format.</div><div style>Namely, I'd like to have an option to surround short if statements and short loops with braces '{', '}'.</div>

<div style>What's the best way to do it, i.e. to add an additional token (here, tok::l_brace and tok::r_brace)?</div><div style><br></div><div style>Regards,</div><div>Marek Kurdej</div>
</div>