Menu

#572 Regression in 3.4.16: Multiplication an logical AND are treated as references or pointers

closed-fixed
None
2024-09-08
2024-05-24
No

Either in 3.4.15 or 3.4.16 there is a change, that intends mathematical/logical expressions as references or pointer dereference operations now.

int a = b * c;

then becomes

int a = b* c;

and

if( a & b )

becomes

if( a& b )

when using

--align-pointer=type
--align-reference=type

Discussion

  • Stefan Battmer

    Stefan Battmer - 2024-05-24

    I will happily provide more information if needed. Tell me whatever would help. Thanks!

     
  • André Simon

    André Simon - 2024-06-03
    • status: open --> open-accepted
    • assigned_to: André Simon
     
  • André Simon

    André Simon - 2024-06-06

    The "logical and" issue should be fixed in 3.5. The multiplication error currently cannot be determined in the parser.

     
  • André Simon

    André Simon - 2024-08-11

    Should be improved in 3.6.0

     
  • Stefan Battmer

    Stefan Battmer - 2024-08-28

    Hi André, I did just check with the latest version 3.6 and this particular issue is still present.

     
  • André Simon

    André Simon - 2024-09-08
    • status: open-accepted --> closed-fixed
     
  • André Simon

    André Simon - 2024-09-08

    Fixed in 3.6.1

     

Log in to post a comment.