A5-0-2
: Do not report on compiler generated conditions in range based for loops
#404
Labels
Difficulty-Low
A false positive or false negative report which is expected to take <1 day effort to address
false positive/false negative
An issue related to observed false positives or false negatives.
Impact-Medium
irrceproducable
The described issue cannot be reproduced.
user-report
Issue reported by an end user of CodeQL Coding Standards
Affected rules
A5-0-2
Description
I cannot reproduce this at the moment, but we have bug reports where compiler-generated condition in a range based for loop is flagged. We should be able to exclude this case with
.isCompilerGenerated()
, even if we can't reproduce it.Example
The text was updated successfully, but these errors were encountered: