Skip to content

RULE-12-2: Incorrect type considered for integer constants with suffixes. #683

Closed
@lcartey

Description

@lcartey

Affected rules

  • RULE-12-2

Description

Integer constants with a suffix which changes the size of the integer constant type are not considered appropriately when determining the essential type of the constant.

Example

1U << 24; // COMPLIANT

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty-MediumA false positive or false negative report which is expected to take 1-5 days effort to addressImpact-Mediumfalse positive/false negativeAn issue related to observed false positives or false negatives.

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions