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

Method setAddBracketsMode

astyle/src/ASFormatter.cpp:1539–1542  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

1537 * @param mode the add brackets mode.
1538 */
1539void ASFormatter::setAddBracketsMode(bool state)
1540{
1541 shouldAddBrackets = state;
1542}
1543
1544/**
1545 * set the add one line brackets mode.

Callers 1

parseOptionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected