Alejandro Alonso
4c8c828889
Rename to _specialize
2023-05-03 09:41:09 -07:00
Alejandro Alonso
e381815580
Add a conditional identity cast
2023-05-02 13:37:08 -07:00
Luciano Almeida
c29fbb5528
[test] Adjusting test files where class syntax is used for protocol inheritance
2020-11-29 21:43:50 -03:00
Nikolai Vazquez
da14b8345c
Never inline isConcrete_false test
...
The `Builtin.isConcrete` function is apparently sensitive to inlining in
unoptimized builds.
2019-08-27 16:51:09 -07:00
Nikolai Vazquez
ba0612f2e9
Add Builtin.isConcrete<T>(T.Type) -> Int1
...
Returns `true` if `T.Type` is known to refer to a concrete type. The
implementation allows for the optimizer to specialize this at -O and
eliminate conditional code.
Includes `Swift._isConcrete<T>(T.Type) -> Bool` wrapper function.
2019-08-27 16:51:09 -07:00
Azoy
a2dafc3d26
Remove _getBool
2018-12-01 18:51:25 -06:00
Johannes Weiss
bd2de10057
Builtin.isbitwisetakable
2018-08-24 16:03:38 +01:00
Erik Eckstein
7c06d4f8ab
Remove the pinning built-ins.
...
They are not used anymore after removing the pinning adressors.
2018-08-23 12:47:56 -07:00
Arnold Schwaighofer
2d8a1dbbfe
Codesign test/stdlib
2018-08-10 06:58:40 -07:00
Mark Lacey
2008674495
Make ImplicitlyUnwrappedOptional<T> an unavailable typealias.
...
Also remove the decl from the known decls and remove a
bunch of code referencing that decl as well as a bunch of other
random things including deserialization support.
This includes removing some specialized diagnostics code that
matched the identifier ImplicitlyUnwrappedOptional, and tweaking
diagnostics for various modes and various issues.
Fixes most of rdar://problem/37121121, among other things.
2018-02-02 08:35:53 -08:00
taylor swift
c85880899d
implement SE 184: add allocation methods to Unsafe buffer pointers, drop all parameters from deallocation, adjust namings, and add repeated-value assignment methods
2017-11-17 21:28:03 -08:00
Károly Lőrentey
3f9abaa1f8
[runtime] Implement sidetable path for isUniquelyReferenced
...
https://bugs.swift.org/browse/SR-5633
2017-08-05 20:26:28 +02:00
Dmitri Gribenko
486cab447d
tests: replace 'rm -rf %t && mkdir -p %t' with '%empty-directory(%t)'
...
These changes were made using a script.
2017-06-04 11:08:39 -07:00
practicalswift
6d1ae2a39c
[gardening] 2016 → 2017
2017-01-06 16:41:22 +01:00
practicalswift
797b80765f
[gardening] Use the correct base URL ( https://swift.org ) in references to the Swift website
...
Remove all references to the old non-TLS enabled base URL (http://swift.org )
2016-11-20 17:36:03 +01:00
Dmitri Gribenko
c9041beea3
Migrate callsites from 'expectNotEmpty()' to 'expectNotNil()'
2016-09-10 20:05:43 -07:00
Dmitri Gribenko
243a35cd65
Migrate callsites from 'expectEmpty()' to 'expectNil()'
2016-09-10 20:05:42 -07:00
Max Moiseev
9fc37efee4
[test] renaming test/1_stdlib to just test/stdlib
2016-09-01 16:51:43 -07:00