Commit Graph

4 Commits

Author SHA1 Message Date
Erik Eckstein
c4a11f4c92 tests: remove the now unused option -new-mangling-for-tests 2017-03-22 11:28:43 -07:00
Michael Gottesman
d4ae7a3f8a [semantic-sil] When calling emitRValueForDecl, borrow the value before deciding whether or not to copy the value.
rdar://29791263
2017-02-15 15:29:30 -08:00
Erik Eckstein
1d3724666f tests: convert about 400 tests to the new mangling by using the -new-mangling-for-tests option
When the new mangling is enabled permanently, the option can be removed from the RUN command lines again.
2017-01-24 15:27:45 -08:00
Joe Groff
3ddf178de9 SILGen: Basic implementation of withoutActuallyEscaping.
The full design would require wrapping the nonescaping closure in an escapable box, and testing that box for uniqueness at the end of the evaluation, but for now just do the moral equivalent of a bitcast to make the functionality available to users and let us deprecate `unsafeBitCast`-ing for this purpose.
2017-01-03 15:27:10 -08:00