Skip to content

A3-9-1: Ignore use of int in operator increment/decrement #614

Closed
@lcartey

Description

@lcartey

Affected rules

  • A3-9-1

Description

Post-increment and post-decrement operators are required by the standard to have a dummy int parameter, and so should not be reasonably flagged by this rule.

Example

 constexpr reverse_iterator operator++(int);

Metadata

Metadata

Assignees

Labels

Difficulty-LowA false positive or false negative report which is expected to take <1 day effort to addressImpact-LowPhase IIIStandard-AUTOSARfalse 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