We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 932ee96 commit 8c09032Copy full SHA for 8c09032
cpp/ql/src/semmle/code/cpp/Type.qll
@@ -1544,7 +1544,7 @@ class FunctionPointerIshType extends DerivedType {
1544
/**
1545
* A C++ pointer to data member. See 15.5.
1546
* ```
1547
- * class C { int m; };
+ * class C { public: int m; };
1548
* int C::* p = &C::m; // pointer to data member m of class C
1549
* class C c;
1550
* int val = c.*p; // access data member
0 commit comments