File tree Expand file tree Collapse file tree
cpp/ql/src/semmle/code/cpp Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -377,17 +377,21 @@ class MemberVariable extends Variable, @membervariable {
377377
378378/**
379379 * A C/C++ function pointer variable.
380+ *
381+ * DEPRECATED: use `Variable.getType() instanceof FunctionPointerType` instead.
380382 */
381- class FunctionPointerVariable extends Variable {
383+ deprecated class FunctionPointerVariable extends Variable {
382384 FunctionPointerVariable ( ) {
383385 this .getType ( ) instanceof FunctionPointerType
384386 }
385387}
386388
387389/**
388390 * A C/C++ function pointer member variable.
391+ *
392+ * DEPRECATED: use `MemberVariable.getType() instanceof FunctionPointerType` instead.
389393 */
390- class FunctionPointerMemberVariable extends MemberVariable {
394+ deprecated class FunctionPointerMemberVariable extends MemberVariable {
391395 FunctionPointerMemberVariable ( ) {
392396 this instanceof FunctionPointerVariable
393397 }
You can’t perform that action at this time.
0 commit comments