Several issues from 3.4.7 related to continuation alignment
In 3.4.8 (or rather 3.4.7 when looking into the GitLab History) there were changes made to how continuation line alignment works, which is causing new issues.
Specifically, I think the commits related to "fixed indentation of method calls" have caused regressions that were not caught by tests. The dot "." was added as an alignment anchor, which is the main reason of new issues. See screenshots below, which show changes from running 3.4.8 on files that were already formatted using 3.4.6 using the same .astylerc file...
First off, here is an older issue that existed already in 3.4.6 (but which has now in 3.4.8 been multiplied by using the dot "." in similar ways, as shown below).
The continuation line is aligned with the ">>" (which is here mistaken for an operator). NOTE: This happens even if we try removing the ">>" from the continuation line.
The issue disappears if we remove the ">>" from the first line, however:
After 3.4.8, the same (or a similar) issue now happens also for dot ".", apparently after the previous line contains a parenthesis?
Also, even where correctly applied, if there are multiple dots on each line, the dot-alignment could anchor the wrong dot from the previous line:
Finally, here's another regression from 3.4.6 to 3.4.8, not sure why this happens (the last 3 lines in the array are indented by 1 extra space) :
break-closing-braces
keep-one-line-blocks
keep-one-line-statements
attach-closing-while
indent-continuation=1
min-conditional-indent=0
max-continuation-indent=40
indent-namespaces
indent-switches
indent-labels
indent-preproc-block
indent-preproc-define
indent-col1-comments
pad-header
close-templates
align-pointer=type



