Commit Graph

1754 Commits

Author SHA1 Message Date
Emanuel Zephir
586a66c243 [SIL] Update generic apply and partial_apply docs
Updates the documentation for the generic versions of apply and partial_apply.
These functions take a simple list of types to substitute instead of the
A = T syntax previously listed in the documentation.
2015-12-21 15:54:36 -08:00
Chris Lattner
7280506e18 Merge pull request #715 from practicalswift/word-word-fixes
[Typo] Remove immediately adjacent repeated words ("the the", "for for", "an an", etc.).
2015-12-21 13:17:16 -08:00
practicalswift
36d7072013 Remove immediately adjacent repeated words ("the the", "for for", "an an", etc.). 2015-12-21 22:16:04 +01:00
Joe Groff
9fd53832fe Start working on a document to describe the runtime interface. 2015-12-21 12:18:57 -08:00
wpegg-dev
325b85f414 Corrected typo 2015-12-21 10:29:32 -05:00
wpegg-dev
510863e07a Corrected typos 2015-12-21 10:27:23 -05:00
practicalswift
cd337dc83b Remove unused imports. 2015-12-21 10:24:08 +01:00
Dmitri Gribenko
a600836ede Merge pull request #639 from alexwlchan/awlc/py3-print-function
Update Python build scripts to use the print function
2015-12-19 16:34:44 -08:00
Erik Eckstein
3080fb4b5c fix doc build error 2015-12-18 22:26:45 -08:00
Emanuel Zephir
e3c4b6f7ec [SIL] Update docs to always use '@convention'
Updates the SIL documentation to use the @convention attribute on function
types. The @thin and @cc attributes are obsolete and result in errors when
used in SIL code.
2015-12-18 17:25:05 -08:00
Alex Chan
ce7ce98a01 Update Python build scripts to use the print function
In Python 3, 'print' was changed from a statement to a function.  Using
the __future__ module allows scripts to use print function whether
running with Python 2.6+ or Python 3.x.  This commit changes as many
instances of print as I could find to use the print function and the
__future__ module.
2015-12-18 23:00:55 +00:00
Dmitri Gribenko
6a66b3cff8 Merge pull request #561 from practicalswift/typos-again
[Typo] Replace PR#514-525 with one large PR
2015-12-18 03:37:02 -08:00
Chris Lattner
3ec6239df3 Merge pull request #549 from zerotypos-found/fix_typo
Fix typo (a --> an, an --> a)
2015-12-17 22:25:22 -08:00
zerotypos-found
0c1df3577e Fix typo: a --> an, an --> a. 2015-12-17 15:10:25 +09:00
David Farler
3cb87cf070 ABI: Document layout of Swift Heap Objects 2015-12-16 18:57:00 -08:00
Mike
46e31b780a [abi.rst] Fix mangling substitution example part 2
CS1_ -> S1_ because it does not require a nominal-type-kind without a following identifier
2015-12-16 18:24:02 -06:00
Joe Groff
2dded76be0 Merge pull request #604 from xtravar/patch-4
[abi.rst] Missing declaration-name definition
2015-12-16 15:07:18 -08:00
Ahmed Ibrahim
2b0bde9014 Capitalize struct name 2015-12-16 23:55:50 +02:00
practicalswift
8ab8847684 Fix typos. 2015-12-16 22:09:32 +01:00
Mike
3b685c4d17 [abi.rst] Missing declaration-name definition
declaration-name ::= context decl-name
2015-12-16 13:47:34 -06:00
Mike
fcf0e5aead [abi.rst] Fix incorrect mangling substitution example
CS0_zoo -> CS0_3zoo
2015-12-16 13:46:13 -06:00
the lel
233150028b Grammar - adds 'you' 2015-12-16 06:33:05 +05:30
Benedikt Terhechte
bf70742353 Fixed typos and what seems like bugs
I changed a couple of SIL code blocks which seemed to be wrong. Since my knowledge here is rather limited I doublechecked my changes by generating SIL from example swift files to see if it matches.
2015-12-15 21:47:01 +01:00
the lel
ed5a71ab42 Slight grammatical improvement. 2015-12-15 22:18:27 +05:30
the lel
818938e67f OCD - fixed a typo 'initialize'
This commit fixes a typo.
2015-12-15 18:36:46 +05:30
Adrian Prantl
64cbec3805 Add SIL syntax for declaring debug variables.
Debug variable info may be attached to debug_value, debug_value_addr,
alloc_box, and alloc_stack instructions.

In order to write textual SIL -> SIL testcases that exercise the handling
of debug information by SIL passes, we need to make a couple of additions
to the textual SIL language. In memory, the debug information attached to
SIL instructions references information from the AST. If we want to create
debug info from parsing a textual .sil file, these bits need to be made
explicit.

Performance Notes: This is memory neutral for compilations from Swift
source code, because the variable name is still stored in the AST. For
compilations from textual source the variable name is stored in tail-
allocated memory following the SIL instruction that introduces the
variable.

<rdar://problem/22707128>
2015-12-14 10:29:50 -08:00
practicalswift
c6e8459187 Fix typos. 2015-12-14 11:13:30 +01:00
Dave Abrahams
e3eea5f740 Revert "Update Arrays.rst" 2015-12-13 22:51:11 -08:00
Dmitri Gribenko
cbb098179c Merge pull request #505 from practicalswift/fix-typos-9
Fix typos (9 of 30)
2015-12-13 20:16:51 -08:00
Michael Gottesman
b838e121ed Merge pull request #502 from practicalswift/fix-typos-6
Fix typos (6 of 30)
2015-12-13 19:03:41 -06:00
practicalswift
462f7e6a82 Fix typo: dependences → dependencies 2015-12-14 00:11:36 +01:00
practicalswift
2f104df624 Fix typo: consequtively → consecutively 2015-12-14 00:11:26 +01:00
practicalswift
a1185ea614 Fix typo: clonability → cloneability 2015-12-14 00:11:23 +01:00
Himank Yadav
138a2fa257 Update Arrays.rst 2015-12-13 08:28:03 -06:00
Jaden Geller
0183833512 Fixed issue in design document where incorrect word mentioned 2015-12-12 14:56:09 -08:00
TheGiantPanda
b40c395e93 Fixed spelling and formatting
The word “disablable” was changed to “disableable”. Formatting for
other lines was also fixed.
2015-12-11 16:36:37 -08:00
Ben Langmuir
3e94baa960 Merge pull request #380 from jutaz/bugfix/typos-take-3
Fix typos
2015-12-11 09:19:27 -08:00
Justas Brazauskas
e799d3e93e Fix typos 2015-12-11 10:58:23 +02:00
Dmitri Gribenko
d19033e423 Merge pull request #410 from modocache/docs-testing-lit-substitutions
[docs] More documentation for lit substitutions
2015-12-10 17:53:39 -08:00
Brian Gesiak
e3ef832e35 [docs] More documentation for lit substitutions
Add explanations for lit substitutions marked as "FIXME" in the testing
documentation.

- Place all `%target-*` substitutions in the same section of the
  documentation.
- Remove substitutions that are no longer available or in use, such as
  `%llvm-opt` and `%leaks-runner`.
- Use uniform spacing between all substitutions bullet points.
2015-12-10 20:50:14 -05:00
Arsen Gasparyan
6b6c6b6a1b Fix non-pure typo 2015-12-11 01:40:06 +03:00
Arnold Schwaighofer
365588da12 Fix OptimizerEffects.rst 2015-12-10 06:37:10 -08:00
Stephen Canon
d502094568 Merge pull request #387 from vicky002/master
removed duplications
2015-12-10 09:13:05 -05:00
Stephen Canon
01f5290a93 Merge pull request #394 from StevenMaude/patch-1
Fix typos in OptimizerDesign.md
2015-12-10 09:11:09 -05:00
Stephen Canon
4fbdbdf6e9 Merge pull request #392 from jutaz/bugfix/typos-in-docs
Bugfix - Typos in docs
2015-12-10 09:10:18 -05:00
Steven Maude
74572b96ca Fix typos in OptimizerDesign.md 2015-12-10 13:42:54 +00:00
Justas Brazauskas
7b941a6e9e Fixed typos in ./docs 2015-12-10 10:11:21 +02:00
vicky002
cb1e4edf2b removed duplications 2015-12-10 09:45:00 +05:30
vicky002
8f21af71ca typo and spelling fixes 2015-12-10 06:56:55 +05:30
John McCall
5fddd4a704 Remove the autorelease_return and strong_retain_autoreleased instructions.
There's a buggy SIL verifier check that was previously tautological,
and it turns out that it's violated, apparently harmlessly.  Since it
was already doing nothing, I've commented it out temporarily while
I figure out the right way to fix SILGen to get the invariant right.
2015-12-09 14:50:20 -08:00