[go: up one dir, main page]

Skip to content

Missing alignment of multiline if condition when --min-conditional-indent=0

Hello, I am interesting in updating from version 3.1 to the latest (currently 3.6.4). I am encountering a few problematic differences in behavior; this issue is about one of them. Thanks in advance!

Input file test.cpp:

if ((a == b) &&
  (c == d))

Output of astyle --style=allman --indent=tab=8 --min-conditional-indent=0 test.cpp in version 3.1:

if ((a == b) &&
    (c == d))

Output of astyle --style=allman --indent=tab=8 --min-conditional-indent=0 test.cpp in version 3.6.4:

if ((a == b) &&
(c == d))