Open LebedevRI opened 7 years ago
Given readability-braces-around-statements.ShortStatementLines = 3 For the code like
if (foo()) { bar(); }
no braces are needed, so i would be awesome if it could drop unnecessary braces in such cases, like:
if (foo()) bar();
I want to make explicit that this should be in readability-braces-around-statements as a configuration option to avoid emitting conflicting fixits for users just enabling readability-*.
readability-braces-around-statements
readability-*
Extended Description
Given readability-braces-around-statements.ShortStatementLines = 3 For the code like
no braces are needed, so i would be awesome if it could drop unnecessary braces in such cases, like: