Skip to content

Commit 5a0353f

Browse files
committed
Make static FloatType members public
1 parent ef2625a commit 5a0353f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Sources/LLVM/FloatType.swift

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ public struct FloatType: IRType {
3838
}
3939

4040
/// 16-bit floating point value in the global context
41-
static let half = FloatType(kind: .half)
41+
public static let half = FloatType(kind: .half)
4242
/// 32-bit floating point value in the global context
43-
static let float = FloatType(kind: .float)
43+
public static let float = FloatType(kind: .float)
4444
/// 64-bit floating point value in the global context
45-
static let double = FloatType(kind: .double)
45+
public static let double = FloatType(kind: .double)
4646
/// 80-bit floating point value (X87) in the global context
47-
static let x86FP80 = FloatType(kind: .x86FP80)
47+
public static let x86FP80 = FloatType(kind: .x86FP80)
4848
/// 128-bit floating point value (112-bit mantissa) in the global context
49-
static let fp128 = FloatType(kind: .fp128)
49+
public static let fp128 = FloatType(kind: .fp128)
5050
/// 128-bit floating point value (two 64-bits) in the global context
51-
static let ppcFP128 = FloatType(kind: .ppcFP128)
51+
public static let ppcFP128 = FloatType(kind: .ppcFP128)
5252

5353
/// Creates a constant floating value of this type from a Swift `Double` value.
5454
public func constant(_ value: Double) -> Constant<Floating> {

0 commit comments

Comments
 (0)