Skip to content

combineOperators(): &= gets split up incorrectly #657

@chrchr-github

Description

@chrchr-github
int* f(int i) {
    return new int(i &= 1);
}
void f ( int i ) {
return new int ( i & = 1 ) ;
}

Downstream: https://trac.cppcheck.net/ticket/14797

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions