Commit Graph

21665 Commits

Author SHA1 Message Date
Dave Zarzycki
c825debf2f Cleanup Enumeration
I tried to transform getEnumeratorType() into a VarDecl, but IRGen hasn't implement this feature yet.

Swift SVN r3527
2012-12-18 02:12:19 +00:00
Doug Gregor
97ea8e66c3 Split the Objective-C types in the standard library into a separate file.
Eventually, the Objective-C types will move to a separate Objective-C
support layer. For now, they sit in the standard library.


Swift SVN r3463
2012-12-13 00:22:28 +00:00
Dave Zarzycki
36fc6a0c27 Make assert() work correctly in debug and release builds respectively
Yay for build system hacks! And thank you Doug for proposing this
instead of my original CPP hack...

Swift SVN r3446
2012-12-12 16:24:44 +00:00
Doug Gregor
3f9b2d0aab Add missing CTypes.swift, since I accidentally committed its use.
Swift SVN r3327
2012-12-03 15:35:34 +00:00
Doug Gregor
a79f61a4a7 Add missing #include to fix compilation with mainline Clang
Swift SVN r3326
2012-12-03 15:34:03 +00:00
Dave Zarzycki
5e7b9928fd Move Range out of Misc.swift into Range.swift
Swift SVN r3299
2012-11-29 21:51:26 +00:00
Dave Zarzycki
ac4ddce56d Move CString out and extend
Swift SVN r3296
2012-11-29 19:33:54 +00:00
Dave Zarzycki
25e83e44b6 Move Slice<T> and UnsafePointer<T> out of Misc.swift
Swift SVN r3294
2012-11-29 19:33:40 +00:00
Dave Zarzycki
fa5c235bff Move crude input shims to InputStream.swift
We need to replace and flush input streaming later with genuine parsing.

Swift SVN r3170
2012-11-13 22:52:00 +00:00
Dave Zarzycki
5e485a91f1 Move I/O logic out of Misc.swift
Also remove contentious [US]{8,16,32,64,128} types

Swift SVN r3169
2012-11-13 22:36:44 +00:00
Dave Zarzycki
e9d2c11710 Workaround lack of modules: fake 'errno'
Swift SVN r3162
2012-11-13 00:24:08 +00:00
Dave Zarzycki
79d61845de Crude filesystem directory support
Swift SVN r3078
2012-10-28 22:11:41 +00:00
Dave Zarzycki
7e8a16a69e Workaround 12202655 -- Rework type resolution
Swift SVN r3070
2012-10-26 18:21:40 +00:00
Dave Zarzycki
18ec3de9f9 Partition POSIX shims and/or API
Swift SVN r3063
2012-10-26 04:31:21 +00:00
Dave Zarzycki
4d8739f083 Accept limitations of LLVM build system
1) Move the low-level runtime code into swift/runtime
2) Move the high-level "standard library" code into swift/stdlib

The key difference is that the 'runtime' contains language support logic
(like retain/release logic) that the compiler assumes to always exist
and may assume intimate details about the implementation. This library
will have intimate knowledge of the swift ABI.

In contrast, the 'stdlib' can be completely rewritten and the
language/compiler make little if any assumptions about it. It is
expected to reexport fundamental types and operators, and implement
fundamental policies (precedence, implicit conversions, etc).

Swift SVN r3045
2012-10-23 21:33:52 +00:00