mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Swift: The PointerType class isn't used any d any more.
This commit is contained in:
@@ -5,22 +5,6 @@
|
||||
|
||||
import swift
|
||||
|
||||
/**
|
||||
* A type that is used as a pointer in Swift, such as `UnsafePointer`,
|
||||
* `UnsafeBufferPointer` and similar types.
|
||||
*/
|
||||
class PointerType extends Type {
|
||||
PointerType() {
|
||||
this instanceof UnsafeTypedPointerType or
|
||||
this instanceof UnsafeRawPointerType or
|
||||
this instanceof OpaquePointerType or
|
||||
this instanceof AutoreleasingUnsafeMutablePointerType or
|
||||
this instanceof UnmanagedType or
|
||||
this instanceof CVaListPointerType or
|
||||
this instanceof ManagedBufferPointerType
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* A Swift unsafe typed pointer type such as `UnsafePointer`,
|
||||
* `UnsafeMutablePointer` or `UnsafeBufferPointer`.
|
||||
|
||||
Reference in New Issue
Block a user