Skip to content

Commit d8f3422

Browse files
committed
CPP: Reword and clarify.
1 parent 393c9e9 commit d8f3422

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

cpp/ql/src/semmle/code/cpp/exprs/Access.qll

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,9 +172,12 @@ class FieldAccess extends VariableAccess {
172172

173173
/**
174174
* A field access whose qualifier is a pointer to a class, struct or union.
175-
* These typically take the form `obj->field`, but also includes many accesses
176-
* with an implicit `this->` qualifier. For example the accesses to `x` and
177-
* `y` in `myMethod` in the following code:
175+
* These typically take the form `obj->field`. Another case is a field access
176+
* with an implicit `this->` qualifier, which is often a `PointerFieldAccess`
177+
* (but see also `ImplicitThisFieldAccess`).
178+
*
179+
* For example the accesses to `x` and `y` in `myMethod` in the following code
180+
* are each a `PointerFieldAccess`:
178181
* ```
179182
* class MyClass {
180183
* public:

0 commit comments

Comments
 (0)