mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
LLVM r334283 changed StringRef::split(char) to be implemented using StringRef::split(StringRef), which is not defined inline. Because Swift uses StringRef without linking LLVM's libSupport.a, we can only use functions that are defined inline in the headers. Swift currently only builds LLVM for the host, so we cannot link libSupport.a without building it for every target, which would be a big change. Instead, this changes a few places in Swift to avoid using those split and rsplit functions. rdar://problem/41029268
12 KiB
12 KiB