Simple embedded statement style
EditorConfig key: cpp-simple-embedded-statement-style
Simple embedded statement style
cpp-simple-embedded-statement-style
Layout for a single statement inside an if/while/for without braces.
Default value:
do_not_change
Possible values:
do_not_change
on_single_line
line_break
Examples
do_not_change
if (cond) a++;
on_single_line
if (cond) a++;
line_break
if (cond) a++;