mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
CPP: Deprecate FunctionPointerVariable and FunctionPointerMemberVariable.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user