Skip to content

Commit 839640a

Browse files
MathiasVPjketema
andauthored
Update cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll
Co-authored-by: Jeroen Ketema <[email protected]>
1 parent 9fa3ff7 commit 839640a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpp/ql/lib/semmle/code/cpp/commons/Buffer.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ predicate memberMayBeVarSize(Class c, MemberVariable v) {
3030
* `this` expression.
3131
*/
3232
private Class getRootType(FieldAccess fa) {
33-
// If the object is accessed inside a ember function then the root will
33+
// If the object is accessed inside a member function then the root will
3434
// be a(n implicit) `this`. And the root type will be the type of `this`.
3535
exists(VariableAccess root |
3636
root = fa.getQualifier*() and

0 commit comments

Comments
 (0)