Skip to content

Commit 260c0dc

Browse files
committed
Typos
1 parent 85ae342 commit 260c0dc

File tree

5 files changed

+3
-6
lines changed

5 files changed

+3
-6
lines changed

Sources/LLVM/BasicBlock.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

Sources/LLVM/Function.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

Sources/LLVM/Global.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

Tests/LLVMTests/FileCheck.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff 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

utils/make-pkgconfig.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import 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++"

0 commit comments

Comments
 (0)