Skip to content

Commit b9a57a4

Browse files
committed
CPP: More accurate qldoc comment.
1 parent ce29047 commit b9a57a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/src/Likely Bugs/Conversion/CastArrayPointerArithmetic.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ class CastToPointerArithFlow extends DataFlow::Configuration {
4444
}
4545

4646
/**
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.
47+
* `derived` has a (possibly indirect) base class of `base`, and at least one new
48+
* field has been introduced in the inheritance chain after `base`.
4949
*/
5050
predicate introducesNewField(Class derived, Class base) {
5151
(

0 commit comments

Comments
 (0)