Skip to content

const vector triggers chained-const-assignment #13

@rtarquini

Description

@rtarquini

Is the intent to flag a vector of type const, or chained constants? the vector below will trip the rule.

const gr_fill_styles = ((/) = 9, () = 10, (|) = 7, (-) = 8, (+) = 11, (x) = 6)

I wouldn't think a vector would not trigger the rule, if that is intended, can you explain why that is an issue, or point me to a CVE.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions