We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce29047 commit b9a57a4Copy full SHA for b9a57a4
cpp/ql/src/Likely Bugs/Conversion/CastArrayPointerArithmetic.ql
@@ -44,8 +44,8 @@ class CastToPointerArithFlow extends DataFlow::Configuration {
44
}
45
46
/**
47
- * `derived` has a (possibly indirect) base class of `base`, and `derived`
48
- * introduces at least one new field that isn't in a base class.
+ * `derived` has a (possibly indirect) base class of `base`, and at least one new
+ * field has been introduced in the inheritance chain after `base`.
49
*/
50
predicate introducesNewField(Class derived, Class base) {
51
(
0 commit comments