Commit Graph

4421 Commits

Author SHA1 Message Date
Doug Gregor
e3fef242cc Note that we want consistent blocks use throughout the SDK
Swift SVN r4638
2013-04-09 21:42:39 +00:00
Dave Zarzycki
106a7f9797 Random doc updates with new keyword ':' syntax
Swift SVN r4580
2013-04-03 00:23:13 +00:00
Dave Abrahams
0dcb4d72ea Stop running LiterateTests as part of ALL
This would prevent anyone who had litre installed from building

Swift SVN r4549
2013-03-29 23:47:03 +00:00
Dave Abrahams
bc68a7a13a Add missing dependency on CMake binary
Swift SVN r4548
2013-03-29 23:47:02 +00:00
Dave Abrahams
7dae6b6a75 Rename a .rst file so regular Unix make won't barf on it
LitRe testing revealed this problem.  Before now, sphinx was the only
tool that had to process these file names.

Swift SVN r4547
2013-03-29 23:47:01 +00:00
Dave Abrahams
bb39a65ac4 Fix build system for LitRe tests
It didn't create the appropriate dependencies on the .rst files.  This
is a more-principled approach that actually invokes CMake from within
itself.

Note: expect it to fail if you use the Makefile generator until I
rename the .rst files

Swift SVN r4545
2013-03-29 22:58:37 +00:00
Joe Groff
1f5bdda08f SIL: Add insns for archetype/protocol metatypes.
Archetype and protocol 'x.metatype' expressions eventually need to do a dynamic lookup, like 'x.metatype' for classes. These instructions represent that lookup.

Swift SVN r4534
2013-03-29 03:57:22 +00:00
Chris Lattner
d53efbba38 fix character escape comments.
Swift SVN r4522
2013-03-28 22:03:03 +00:00
Dave Abrahams
6a7d513877 Remove unused litre_config.py file
Swift SVN r4514
2013-03-28 13:45:17 +00:00
Dave Abrahams
a2cc84eb19 Generics.rst: explanatory comment for LitRe @ignore directive
Swift SVN r4513
2013-03-28 13:45:16 +00:00
Dave Abrahams
60dc2cb569 Generics.rst: add missing declarations to example
Swift SVN r4512
2013-03-28 13:45:15 +00:00
Dave Abrahams
424df116c3 Generics.rst: test C++ code with whatever compiler CMake finds
Swift SVN r4511
2013-03-28 13:45:14 +00:00
Dave Abrahams
01cd7edd16 Don't add a literate testing subdirectory for documents on which LitRe fails
Swift SVN r4510
2013-03-28 13:45:13 +00:00
Dave Abrahams
50835b813b Use LitRe's new default_compiler option
Swift SVN r4509
2013-03-28 13:45:12 +00:00
Dave Abrahams
30d9e8821f *.rst: Use litre.TestsAreMissing exceptions
to avoid long processing times and reams of error messages for as-yet-untested files

Swift SVN r4508
2013-03-28 13:45:11 +00:00
Dave Abrahams
d357f8d071 Generics.rst: add some initial LitRe testing
Swift SVN r4507
2013-03-28 13:45:09 +00:00
Dave Abrahams
257ee68810 Specify litre config file
Swift SVN r4506
2013-03-28 13:45:08 +00:00
Dave Abrahams
96cc492854 docs/CMakeLists.txt: documentation
Swift SVN r4505
2013-03-28 13:45:07 +00:00
Dave Abrahams
0abc1da148 Initial integration of LitRe testing into the documentation build process
Swift SVN r4504
2013-03-28 13:45:06 +00:00
Joe Groff
62b03629b9 LangRef: Describe cast expressions.
Swift SVN r4500
2013-03-27 23:29:44 +00:00
Joe Groff
89e1b7e773 Parser: Give IfExpr traditional ternary syntax.
Swift SVN r4489
2013-03-26 01:17:34 +00:00
Dave Abrahams
16e231b129 ValueSemantics.rst: elaboration, clarification, cleanup
Swift SVN r4484
2013-03-25 17:23:36 +00:00
Dave Abrahams
76e982f235 ValueSemantics.rst: Example corrections and elaboration
Swift SVN r4483
2013-03-25 17:23:35 +00:00
Joe Groff
e8b66bce1d SIL: Rename implicit_convert to convert_function.
All the other implicit conversions have been given their own instructions, so specialize this ill-specified instruction to its one remaining use, for converting compatible function types.

Swift SVN r4482
2013-03-25 16:51:03 +00:00
Dave Abrahams
3984b93c6b Update ValueSemantics.rst with improved example
Swift SVN r4469
2013-03-21 22:05:45 +00:00
Dave Abrahams
6fdb9ceac4 2nd Edition of Clonable.rst with additional exposition
Swift SVN r4466
2013-03-21 20:21:40 +00:00
Dave Abrahams
fa3eaf3eb9 Fix spelling of "Clonable.rst"
Swift SVN r4465
2013-03-21 18:26:43 +00:00
Dave Abrahams
a993192a3a valref.rst: Add post-presentation TODOs
Swift SVN r4455
2013-03-20 20:17:54 +00:00
Joe Groff
eb779e6f84 valref.rst: Nullable sugar.
Propose a syntax that lets us express ref (T?) and (ref T)? without requiring parens. Also add a note about how 'val' and 'ref' affect the type system up front.

Swift SVN r4450
2013-03-19 16:28:44 +00:00
Dave Abrahams
3460d8246c valref.rst: Apply Dave Z's suggested edits
Swift SVN r4448
2013-03-19 16:13:54 +00:00
Joe Groff
8844dda4b6 valref.rst: Why we're better than C#
We allow structs to own stuff on the heap, and we allow generics to use val vs. ref without limiting the types generics can be used with.

Swift SVN r4446
2013-03-19 15:11:20 +00:00
Joe Groff
54e712eefe valref.rst: oneofs and Objective-C
Swift SVN r4445
2013-03-19 02:50:29 +00:00
Dave Abrahams
f07fdde0ea Attempt to clarify XPair example
Swift SVN r4444
2013-03-19 01:08:44 +00:00
Dave Abrahams
3ee78280bb valref.rst: How This Design Beats Rust/C++/etc.
Swift SVN r4443
2013-03-19 01:02:06 +00:00
Dave Abrahams
fead087179 valref.rst: How This Design Improves Swift
Swift SVN r4442
2013-03-19 01:02:05 +00:00
Dave Abrahams
a7bae85d06 valref.rst: s/box/zone/
Swift SVN r4441
2013-03-19 01:02:04 +00:00
Dave Abrahams
d5f0892e99 valref.rst: breadcrumb for Joe
Swift SVN r4440
2013-03-19 00:33:54 +00:00
Dave Abrahams
169571fa55 valref.rst: (Im)Mutability
Swift SVN r4439
2013-03-19 00:32:55 +00:00
Dave Abrahams
186e2ce312 valref.rst: Teachability
Swift SVN r4438
2013-03-19 00:17:30 +00:00
Dave Abrahams
8d9bab9c4f valref.rst: exposition on Generics
Swift SVN r4437
2013-03-19 00:17:29 +00:00
Dave Abrahams
d2d82ee059 valref.rst: delete obsolete note
Swift SVN r4436
2013-03-19 00:17:28 +00:00
Dave Abrahams
8c756504cd valref.rst: revert "delete an obsolete section on Joe's behalf"
(it's not obsolete)

Swift SVN r4435
2013-03-19 00:17:27 +00:00
Dave Abrahams
a39d5dd3c1 valref.rst: introduction
Swift SVN r4434
2013-03-18 23:31:53 +00:00
Dave Abrahams
481e7843d0 valref.rst: tiny edit
Swift SVN r4433
2013-03-18 23:31:52 +00:00
Dave Abrahams
4bb8e8ace5 valref.rst: first draft of [byref] discussion on Joe's behalf
Swift SVN r4431
2013-03-18 21:36:46 +00:00
Dave Abrahams
07b1e5b07d valref.rst: clean up the BikeShed
Swift SVN r4430
2013-03-18 21:33:39 +00:00
Dave Abrahams
7e75ef6071 valref.rst: Minor linguistic and formatting cleanups
Swift SVN r4429
2013-03-18 21:33:38 +00:00
Dave Abrahams
fb61586543 valref.rst: hyperlink to BikeShed
Swift SVN r4428
2013-03-18 21:33:37 +00:00
Dave Abrahams
0868b47235 valref.rst: align comments
Swift SVN r4427
2013-03-18 21:19:39 +00:00
Dave Abrahams
14f750e5e1 valref.rst: delete an obsolete section on Joe's behalf
Swift SVN r4426
2013-03-18 21:19:38 +00:00