Skip to content

A4-5-1: Ignore bitmask types #366

Closed
@lcartey

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{};

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

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions