Skip to content

A4-5-1: Ignore bitmask types #366

Closed

Description

@lcartey

Affected rules

  • A4-5-1

Description

We need to implement the "bitmask types" exception for this query:

It is allowed to use the enumeration as operand to all built-in and overloaded operators if the enumeration satisfies the “BitmaskType” concept [16].

Example

enum class byte : std::uint8_t{};

Activity

  1. added
    false positive/false negativeAn issue related to observed false positives or false negatives.
    user-reportIssue reported by an end user of CodeQL Coding Standards
    Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to address
    on Sep 29, 2023
  2. self-assigned this
    on Jan 10, 2024
  3. moved this from Scheduled to In Progress in Coding Standards Public Development Boardon Jan 31, 2024
  4. moved this from In Progress to Ready for review in Coding Standards Public Development Boardon Jan 31, 2024
  5. moved this from Ready for review to Reviewed in Coding Standards Public Development Boardon Feb 1, 2024
  6. added a commit that references this issue on Feb 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressImpact-Mediumfalse positive/false negativeAn issue related to observed false positives or false negatives.user-reportIssue reported by an end user of CodeQL Coding Standards

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions