File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
cpp/ql/src/semmle/code/cpp Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ class Type extends Locatable, @type {
274
274
275
275
/**
276
276
* Gets this type with any typedefs resolved. For example, given
277
- * `typedef C T`, this would resolve `const T& ` to `const C& `.
277
+ * `typedef C T`, this would resolve `const T&` to `const C&`.
278
278
* Note that this will only work if the resolved type actually appears
279
279
* on its own elsewhere in the program.
280
280
*/
@@ -1544,9 +1544,9 @@ class FunctionPointerIshType extends DerivedType {
1544
1544
/**
1545
1545
* A C++ pointer to data member. See 15.5.
1546
1546
* ```
1547
- * class C { int m; };
1547
+ * class C { public: int m; };
1548
1548
* int C::* p = &C::m; // pointer to data member m of class C
1549
- * class C * ;
1549
+ * class C c ;
1550
1550
* int val = c.*p; // access data member
1551
1551
* ```
1552
1552
*/
You can’t perform that action at this time.
0 commit comments