CPP: Deprecate FunctionPointerVariable and FunctionPointerMemberVariable.

This commit is contained in:
Geoffrey White
2019-01-25 14:57:37 +00:00
parent 2aca40a021
commit 7bc734aa50

View File

@@ -377,8 +377,10 @@ class MemberVariable extends Variable, @membervariable {
/**
* A C/C++ function pointer variable.
*
* DEPRECATED: use `Variable.getType() instanceof FunctionPointerType` instead.
*/
class FunctionPointerVariable extends Variable {
deprecated class FunctionPointerVariable extends Variable {
FunctionPointerVariable() {
this.getType() instanceof FunctionPointerType
}
@@ -386,8 +388,10 @@ class FunctionPointerVariable extends Variable {
/**
* A C/C++ function pointer member variable.
*
* DEPRECATED: use `MemberVariable.getType() instanceof FunctionPointerType` instead.
*/
class FunctionPointerMemberVariable extends MemberVariable {
deprecated class FunctionPointerMemberVariable extends MemberVariable {
FunctionPointerMemberVariable() {
this instanceof FunctionPointerVariable
}