File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
cpp/ql/src/semmle/code/cpp Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -1374,8 +1374,14 @@ class PointerToMemberType extends Type, @ptrtomember {
13741374}
13751375
13761376/**
1377- * A C/C++ routine type. Conceptually, this is what results from stripping away the pointer from a function pointer type.
1378- * It has no corresponding syntax in C/C++.
1377+ * A C/C++ routine type. Conceptually, this is what results from stripping
1378+ * away the pointer from a function pointer type. It can also occur in C++
1379+ * code, for example the base type of `myRoutineType` in the following code:
1380+ * ```
1381+ * using myRoutineType = int(int);
1382+ *
1383+ * myRoutineType *fp = 0;
1384+ * ```
13791385 */
13801386class RoutineType extends Type , @routinetype {
13811387 /** a printable representation of this named element */
You can’t perform that action at this time.
0 commit comments