File tree Expand file tree Collapse file tree 5 files changed +3
-6
lines changed Expand file tree Collapse file tree 5 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ public struct BasicBlock: IRValue {
6565
6666 /// Deletes the basic block from its containing function.
6767 /// - note: This does not remove breaks to this block from the
68- /// function. Ensure you have removed all insructions that reference
68+ /// function. Ensure you have removed all instructions that reference
6969 /// this basic block before deleting it.
7070 public func delete( ) {
7171 LLVMDeleteBasicBlock ( llvm)
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ public class Function: IRGlobal {
181181
182182 /// Deletes the function from its containing module.
183183 /// - note: This does not remove calls to this function from the
184- /// module. Ensure you have removed all insructions that reference
184+ /// module. Ensure you have removed all instructions that reference
185185 /// this function before deleting it.
186186 public func delete( ) {
187187 LLVMDeleteFunction ( llvm)
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ public struct Global: IRGlobal {
130130
131131 /// Deletes the global variable from its containing module.
132132 /// - note: This does not remove references to this global from the
133- /// module. Ensure you have removed all insructions that reference
133+ /// module. Ensure you have removed all instructions that reference
134134 /// this global before deleting it.
135135 public func delete( ) {
136136 LLVMDeleteGlobal ( llvm)
Original file line number Diff line number Diff line change @@ -2,8 +2,6 @@ import Foundation
22
33#if os(Linux)
44 import Glibc
5-
6- typealias NSRegularExpression = RegularExpression
75#else
86 import Darwin
97#endif
Original file line number Diff line number Diff line change 22import Foundation
33
44#if os(Linux)
5- typealias Process = Task
65 let libCPP = " -L/usr/lib -lc++ "
76#elseif os(macOS)
87 let libCPP = " -lc++ "
You can’t perform that action at this time.
0 commit comments