We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61340c4 commit 4d327dbCopy full SHA for 4d327db
swift/ql/lib/codeql/swift/frameworks/StandardLibrary/PointerTypes.qll
@@ -5,22 +5,6 @@
5
6
import swift
7
8
-/**
9
- * A type that is used as a pointer in Swift, such as `UnsafePointer`,
10
- * `UnsafeBufferPointer` and similar types.
11
- */
12
-class PointerType extends Type {
13
- PointerType() {
14
- this instanceof UnsafeTypedPointerType or
15
- this instanceof UnsafeRawPointerType or
16
- this instanceof OpaquePointerType or
17
- this instanceof AutoreleasingUnsafeMutablePointerType or
18
- this instanceof UnmanagedType or
19
- this instanceof CVaListPointerType or
20
- this instanceof ManagedBufferPointerType
21
- }
22
-}
23
-
24
/**
25
* A Swift unsafe typed pointer type such as `UnsafePointer`,
26
* `UnsafeMutablePointer` or `UnsafeBufferPointer`.
0 commit comments