mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
Swift: Make the test work on Linux.
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
|
||||
struct AutoreleasingUnsafeMutablePointer<Pointee> {
|
||||
}
|
||||
|
||||
class MyClass {
|
||||
init() {
|
||||
val = 0
|
||||
|
||||
@@ -1,13 +1,14 @@
|
||||
| pointers.swift:11:6:11:6 | p1 | UnsafePointer<Int> | PointerType, UnsafeTypedPointerType |
|
||||
| pointers.swift:12:6:12:6 | p2 | UnsafeMutablePointer<UInt8> | PointerType, UnsafeTypedPointerType |
|
||||
| pointers.swift:13:6:13:6 | p3 | UnsafeBufferPointer<String> | PointerType, UnsafeTypedPointerType |
|
||||
| pointers.swift:14:6:14:6 | p4 | UnsafeMutableBufferPointer<MyClass> | PointerType, UnsafeTypedPointerType |
|
||||
| pointers.swift:15:6:15:6 | p5 | UnsafeRawPointer | PointerType, UnsafeRawPointerType |
|
||||
| pointers.swift:16:6:16:6 | p6 | UnsafeMutableRawPointer | PointerType, UnsafeRawPointerType |
|
||||
| pointers.swift:17:6:17:6 | p7 | UnsafeRawBufferPointer | PointerType, UnsafeRawPointerType |
|
||||
| pointers.swift:18:6:18:6 | p8 | UnsafeMutableRawBufferPointer | PointerType, UnsafeRawPointerType |
|
||||
| pointers.swift:20:6:20:6 | op | OpaquePointer | OpaquePointerType, PointerType |
|
||||
| pointers.swift:21:6:21:6 | aump | AutoreleasingUnsafeMutablePointer<UInt8> | AutoreleasingUnsafeMutablePointerType, PointerType |
|
||||
| pointers.swift:22:6:22:6 | um | Unmanaged<MyClass> | PointerType, UnmanagedType |
|
||||
| pointers.swift:23:6:23:6 | cvlp | CVaListPointer | CVaListPointerType, PointerType |
|
||||
| pointers.swift:25:6:25:6 | mbp | ManagedBufferPointer<Int, MyClass> | ManagedBufferPointerType, PointerType |
|
||||
| pointers.swift:2:8:2:8 | self | AutoreleasingUnsafeMutablePointer<Pointee> | AutoreleasingUnsafeMutablePointerType, PointerType |
|
||||
| pointers.swift:14:6:14:6 | p1 | UnsafePointer<Int> | PointerType, UnsafeTypedPointerType |
|
||||
| pointers.swift:15:6:15:6 | p2 | UnsafeMutablePointer<UInt8> | PointerType, UnsafeTypedPointerType |
|
||||
| pointers.swift:16:6:16:6 | p3 | UnsafeBufferPointer<String> | PointerType, UnsafeTypedPointerType |
|
||||
| pointers.swift:17:6:17:6 | p4 | UnsafeMutableBufferPointer<MyClass> | PointerType, UnsafeTypedPointerType |
|
||||
| pointers.swift:18:6:18:6 | p5 | UnsafeRawPointer | PointerType, UnsafeRawPointerType |
|
||||
| pointers.swift:19:6:19:6 | p6 | UnsafeMutableRawPointer | PointerType, UnsafeRawPointerType |
|
||||
| pointers.swift:20:6:20:6 | p7 | UnsafeRawBufferPointer | PointerType, UnsafeRawPointerType |
|
||||
| pointers.swift:21:6:21:6 | p8 | UnsafeMutableRawBufferPointer | PointerType, UnsafeRawPointerType |
|
||||
| pointers.swift:23:6:23:6 | op | OpaquePointer | OpaquePointerType, PointerType |
|
||||
| pointers.swift:24:6:24:6 | aump | AutoreleasingUnsafeMutablePointer<UInt8> | AutoreleasingUnsafeMutablePointerType, PointerType |
|
||||
| pointers.swift:25:6:25:6 | um | Unmanaged<MyClass> | PointerType, UnmanagedType |
|
||||
| pointers.swift:26:6:26:6 | cvlp | CVaListPointer | CVaListPointerType, PointerType |
|
||||
| pointers.swift:28:6:28:6 | mbp | ManagedBufferPointer<Int, MyClass> | ManagedBufferPointerType, PointerType |
|
||||
|
||||
Reference in New Issue
Block a user