1 .. title:: clang-tidy - readability-braces-around-statements
3 readability-braces-around-statements
4 ====================================
6 `google-readability-braces-around-statements` redirects here as an alias for
9 Checks that bodies of ``if`` statements and loops (``for``, ``do while``, and
10 ``while``) are inside braces.
30 .. option:: ShortStatementLines
32 Defines the minimal number of lines that the statement should have in order
33 to trigger this check.
35 The number of lines is counted from the end of condition or initial keyword
36 (``do``/``else``) until the last line of the inner statement. Default value
37 `0` means that braces will be added to all statements (not having them