Skip to content

A7-1-1: Exclude compiler generated statements for range based for loops #372

Closed
@lcartey

Description

@lcartey

Affected rules

  • A7-1-1
  • A0-1-1

Description

Similar to:
#309

Example

  for (const bool value : values) {
    do_stuff(value);
  }

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