diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2018-12-20 15:57:02 +0000 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2018-12-21 15:18:32 +0000 |
commit | df7bd278a6c8cd0f5e956fb733a25379f3a71f9f (patch) | |
tree | 1dee64c889ae67b71473c5c19b8459e7937e3c90 /Documentation/coding-style.rst | |
parent | 53b549b63158c64a2f8764fcba8bf049fb1cb397 (diff) |
utils: checkstyle: add keep-one-line-blocks
Enable --keep-one-line-blocks to prevent astyle from wanting to move
single inlined blocks to cover 4 lines such as:
- virtual int init() { return 0; }
+ virtual int init()
+ {
+ return 0;
+ }
Reviewed-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'Documentation/coding-style.rst')
0 files changed, 0 insertions, 0 deletions