Skip to content

Commit 675e1cc

Browse files
committed
CPP: Add a reverse-link for consistency between Field and MemberVariable.
1 parent f045035 commit 675e1cc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cpp/ql/src/semmle/code/cpp/Field.qll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ import semmle.code.cpp.exprs.Access
1212
* static int s;
1313
* };
1414
* ```
15+
*
16+
* This does not include static member variables in C++. To include static member
17+
* variables, use `MemberVariable` instead of `Field`.
1518
*/
1619
class Field extends MemberVariable {
1720

0 commit comments

Comments
 (0)