Slava Pestov
c272d41e2f
Re-apply "SIL: Remove special meaning for @_semantics("stdlib_binary_only")"
...
With -sil-serialize-all gone, this no longer means anything; just
don't declare the function as @_inlineable instead.
Fixes <rdar://problem/34564380>.
2017-10-04 14:07:52 -07:00
Jordan Rose
aab5f7aa4f
Revert "SIL: Remove special meaning for @_semantics("stdlib_binary_only")" ( #12270 )
...
It still affects StdlibUnittest, which is still using -sil-serialize-all.
2017-10-04 12:49:21 -07:00
Slava Pestov
0fad13eeba
SIL: Remove special meaning for @_semantics("stdlib_binary_only")
...
With -sil-serialize-all gone, this no longer means anything; just
don't declare the function as @_inlineable instead.
Fixes <rdar://problem/34564380>.
2017-10-03 13:48:22 -07:00
Max Moiseev
b30b937ed3
Revert making some enums public
...
The compiler problem was fixed: rdar://problem/34342955
2017-09-29 11:26:56 -07:00
Max Moiseev
53b8419279
[stdlib] Make all the stdlib APIs @_inlineable
...
This change in theory should allow us to remove a special stdlib-only
sil-serialize-all compilation mode.
<rdar://problem/34138683>
2017-09-29 11:26:56 -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
practicalswift
3a4ee89034
[gardening] Use consistent formatting.
2016-09-17 12:12:49 +02:00
Sean Callanan
694ef45a09
Added an explicatory comment, thanks to Dmitri Gribenko for the suggestion.
2016-08-10 15:57:25 -07:00
Sean Callanan
8ab85d7a3e
Put @_sematics on its own line, thanks to Erik Eckstein for the comment.
2016-08-10 15:35:32 -07:00
Sean Callanan
b57926895f
[stdlib] Make the stringForPrintObject function not inlined by default.
...
Inlining it causes the lldb "po" command to generate a 50KB binary blob that
needs to be injected into the target process. It is much faster to just call
into the standard-library binary.
<rdar://problem/27710066>
2016-08-10 15:11:34 -07:00
Robert Widmann
14dc86cf15
Polish off uses of dynamicType in codebase
2016-07-29 16:58:40 -07:00
Joe Groff
9effc047e6
Update standard library for id-as-Any.
2016-07-25 06:01:21 -07:00
Tony Parker
2a4e916296
Rename OutputStream to TextOutputStream [SE-0086]
2016-07-18 16:47:23 -07:00
practicalswift
68af19b6b8
[gardening] Fix incorrect header filenames
2016-07-15 10:23:42 +02:00
practicalswift
a8c18a5242
[gardening] Don't compare to false.
2016-07-15 10:20:15 +02:00
Enrico Granata
4990fbd074
In order to avoid reference cycles and repeat printing of data, stringForPrintObject maintains a list of references it has encountered and skips printing them
...
Bridging was causing an issue where some value types were being bridged into references and ending up randomly causing collisions which would make certain data not be printed when it should have
Make it so that we only tuck away references we know are natively references for uniqueness purposes
Fixes rdar://problem/27319054
2016-07-13 16:36:56 -07:00
Enrico Granata
061b681d9f
Minor tweak to stringForPrintObject to not say "1 elements"
2016-07-13 14:47:56 -07:00
Enrico Granata
dccff399e3
Adjust for latest round of code review; change PrintForDebugger to _DebuggerSupport and stringForPrintObject; minor indentation and label fixups
2016-07-11 18:32:18 -07:00