Max Moiseev
40b1a0b7e0
[stdlib] all sorts of require renamed back to precondition
2016-02-19 18:21:29 -08:00
Max Moiseev
3fe0c60d7f
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2015-12-17 11:00:02 -08:00
Maxim Moiseev
f2f50d6a9d
precondition => require
2015-12-16 17:16:08 -08:00
Dmitri Gribenko
d864cfcf3d
Merge pull request #556 from dduan/increment_decrement_search_replace
...
replace singular statement ++/-- with += 1/-= 1 for integer variables
2015-12-15 17:39:29 -08:00
Max Moiseev
2021dd5a4d
Merge remote-tracking branch 'origin/master' into swift-3-api-guidelines
2015-12-15 12:49:22 -08:00
Erik Eckstein
0830c36974
[tests] add import statements to prevent unresolved symbols when compiling StdlibUnittest with -sil-serialize-all.
...
This is the second part of 308f39fe56 .
It fixes (better: works-around) linker errors when testing in optimized mode.
2015-12-15 10:46:10 -08:00
Daniel Duan
ebb0c3a204
replaced single-line ++/-- with +=/-=
2015-12-15 09:05:37 -08:00
Dmitri Gribenko
feacbc4433
Rename ErrorType to ErrorProtocol
2015-12-09 17:12:19 -08:00
Slava Pestov
f524802e12
DI: Add support for early return from designated initializers
...
Fixes <rdar://problem/18216578>.
Swift SVN r32678
2015-10-14 06:36:56 +00:00
Slava Pestov
d598e32091
SIL: Fix conditional destroy generation for delegating initializers
...
If the had a block where one predecessor had self initialized and
another had self uninitialized, DI would emit incorrect code for
the initialized case -- we would release self, then deallocate it,
causing a double-free.
This is the final part of <rdar://problem/21991742>.
Swift SVN r31149
2015-08-11 22:26:24 +00:00