Menu

#584 Regression in 3.6.4: References in 'if'-statements

closed-fixed
None
2025-02-27
2025-02-24
No

Probably due to the changes in #572 and #573 and might be related to #578. While the changes in #572 and #573 fixed most of the issues I had, now I face these issues:

if( ( bla ) && ( blub ) )
// becomes
if(( bla ) && ( blub ) )

QMutexLocker lockedScope( &lock_ );
// becomes
QMutexLocker lockedScope(&lock_ );

So something seems to eat a whitespace.

I am using (apart from other settings):

--style=allman
--pad-oper
--pad-paren-in
--align-pointer=type
--align-reference=type

but especially the last 2 options can be changed to name as well yielding the same results.

Discussion

  • Stefan Battmer

    Stefan Battmer - 2025-02-24

    Sorry: I did forget to add, that I tested that using 3.6.6 as well.

     
  • André Simon

    André Simon - 2025-02-25

    Hi, the next release will have a new option preserve-ws to prevent this.

     
  • André Simon

    André Simon - 2025-02-27
    • status: open --> closed-fixed
    • assigned_to: André Simon
     
  • André Simon

    André Simon - 2025-02-27

    Bugfix version 3.6.7 was released.

     

Log in to post a comment.