MCPcopy Create free account
hub / github.com/dirkvranckaert/AndroidDecompiler / setAddOneLineBracketsMode

Method setAddOneLineBracketsMode

astyle/src/ASFormatter.cpp:1552–1556  ·  view source on GitHub ↗

* set the add one line brackets mode. * options: * true one line brackets added to headers for single line statements. * false one line brackets NOT added to headers for single line statements. * * @param mode the add one line brackets mode. */

Source from the content-addressed store, hash-verified

1550 * @param mode the add one line brackets mode.
1551 */
1552void ASFormatter::setAddOneLineBracketsMode(bool state)
1553{
1554 shouldAddBrackets = state;
1555 shouldAddOneLineBrackets = state;
1556}
1557
1558/**
1559 * set the remove brackets mode.

Callers 1

parseOptionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected