Merge pull request #829 from geoffw0/deprecate-fpv

CPP: Deprecate FunctionPointerVariable and FunctionPointerMemberVariable
This commit is contained in:
Jonas Jensen
2019-01-28 08:47:49 +01:00
committed by GitHub

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
}