A12-1-1
: Does not apply transitively
#829
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.
false-positive
An issue representing a false positive report.
Impact-Medium
Standard-AUTOSAR
user-report
Issue reported by an end user of CodeQL Coding Standards
Affected rules
A12-1-1
:cpp/autosar/explicit-constructor-base-class-initialization
Description
Let an inherited class having two constructor
a
andb
.a
calls the base class constructor whileb
callsa
.A12-1-1
gets reported onb
because it does not call base class constructor directly (but it calls it transitively througha
)Example
The text was updated successfully, but these errors were encountered: