Files
swift-mirror/include/swift/Basic/OwnedString.h
Saleem Abdulrasool 3f5c245d7f Basic: correct use-after-move on Windows
The order of evaluation for arguments is underspecified in the language
specification.  It is permissible to evluate right to left, resulting in the use
after the move of the OwnedPtr.  This happens in practice on Windows.  Alter the
construction to avoid this.
2018-08-31 16:03:50 -07:00

4.6 KiB