Skip to content

Commit 1866032

Browse files
committed
[LLVM] Fix compilation after changes in the stdlib overlay
This makes sure that the bindings can be built with a 5.9+ snapshot compiler.
1 parent 470e7d8 commit 1866032

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/LLVM/LLVM_Utils.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
extension String {
1616
public init(_ stringRef: llvm.StringRef) {
17-
self.init(cxxString: stringRef.str())
17+
self.init(stringRef.str())
1818
}
1919

2020
public func withStringRef<Result>(_ body: (llvm.StringRef) -> Result) -> Result {

0 commit comments

Comments
 (0)