mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
llvm r283043 and possibly other recent changes switch to use StringRef instead of char* pointers. Update Swift to match. In some cases, this is a clear improvement. It would be good to assess the impact on memory use, particularly for the Filename component of source locations. Note that the change to SILLocation::isNull fixes an apparent bug where the location was treated as null when the filename was *not* null.
20 KiB
20 KiB