David Ungar
22d37eccd8
WIP
2019-06-09 14:51:39 -07:00
David Ungar
c4322de196
CreateSubtree returns one only
2019-06-09 12:17:32 -07:00
David Ungar
1d5b9ea28f
did expandMe
2019-06-09 12:08:35 -07:00
David Ungar
2869b4eaf3
Add final’s
2019-06-09 10:17:54 -07:00
David Ungar
d3cf74bb37
compiles
2019-06-09 10:04:26 -07:00
David Ungar
a724ff1446
undo lastAdopter transfer and rename, fix use expansion, rm depth
2019-06-09 09:57:32 -07:00
David Ungar
2e9f6c0f15
Formats and fixes
2019-06-08 11:51:35 -07:00
David Ungar
253f16b76d
WIP
2019-06-08 09:34:16 -07:00
David Ungar
3abfa1f384
WIP
2019-06-08 09:08:49 -07:00
David Ungar
f9974468a7
fixes
2019-06-05 21:28:04 -07:00
David Ungar
1e9bc8465b
Minor cleaning
2019-06-05 16:09:47 -07:00
David Ungar
670eb61f8e
Spell out GTX
2019-06-05 15:54:10 -07:00
David Ungar
05d38e0c53
Source range optimization
2019-06-05 14:15:47 -07:00
David Ungar
480807f902
Hoisted expand after
2019-06-05 12:22:04 -07:00
David Ungar
f36648463a
rm finishExpansion
2019-06-05 12:15:01 -07:00
David Ungar
85a5514c56
Create pattern use always
2019-06-05 11:02:11 -07:00
David Ungar
7bc8129321
First cut new Guard scheme
2019-06-05 10:24:11 -07:00
David Ungar
73279c99fb
Upto findLookupParentForUse
2019-06-05 09:04:38 -07:00
David Ungar
dd5d4ab492
Rm unused
2019-06-05 08:33:03 -07:00
David Ungar
1c0da7511c
Renaming
2019-06-05 08:31:00 -07:00
David Ungar
50e599b036
Renaming
2019-06-05 08:00:49 -07:00
David Ungar
e42ee8116d
Fix assertion
2019-06-04 21:04:36 -07:00
David Ungar
606ce7b8cb
pattern fixes
2019-06-04 20:50:59 -07:00
David Ungar
94bd4a801a
fmt
2019-06-04 18:11:35 -07:00
David Ungar
8ff4309580
WIP, unfmt
2019-06-04 17:14:32 -07:00
David Ungar
3f3f51c7b9
new pattern code
2019-06-04 14:36:52 -07:00
David Ungar
ad77af1b87
Catch top-level dependency for use under pattern.
...
var x = 3
_ = x
2019-06-03 21:13:25 -07:00
David Ungar
d914ec2640
Reverse closure scope args in prep for dup detection
2019-06-02 11:59:40 -07:00
David Ungar
23bddf12b4
Format
2019-05-31 21:03:05 -07:00
David Ungar
005e259247
compiles, unfmt
2019-05-31 21:02:19 -07:00
David Ungar
e6012a4809
fixes
2019-05-31 13:56:29 -07:00
David Ungar
2ad2bacec3
Format
2019-05-31 13:37:09 -07:00
David Ungar
11a9ee72b2
finished creation
2019-05-31 13:34:34 -07:00
David Ungar
9035ab85f5
WIP unfmt
2019-05-31 10:12:24 -07:00
David Ungar
40b0080c4c
WIP createSubtree
2019-05-31 07:53:01 -07:00
David Ungar
2e7756c5c9
WP Redoing
2019-05-30 21:59:07 -07:00
David Ungar
8814390225
ifndef NDEBUG nify
2019-05-28 14:40:10 -07:00
David Ungar
2b9480dd35
Format
2019-05-28 12:38:30 -07:00
David Ungar
36234c3cc8
function_ref
2019-05-28 12:37:49 -07:00
David Ungar
741a0bfcd7
Typo fix.
2019-05-28 11:24:55 -07:00
David Ungar
3f820c374e
Some review tweaks.
2019-05-28 11:12:12 -07:00
David Ungar
663760e3b7
ASTOOScope ontology
2019-05-28 10:48:22 -07:00
John McCall
584146f3f8
Allow a closure-parent ASTScope to be formed from any number of exprs. NFC.
...
Yield statements will allow an arbitrary number of operands --- like
calls, except we're going to skip over the tuple mistake. :)
2018-07-05 02:48:41 -04:00
Rintaro Ishizaki
a375267e5c
[ASTScope] Remove ForStmt support.
2017-08-04 23:27:22 +09: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
b19481f887
[gardening] Fix 67 recently introduced typos
2016-09-16 11:16:07 +02:00
practicalswift
6b1b2bad8a
[gardening] "an unary" → "a unary", "an parameter" → "a parameter", "an struct" → "a struct" ( #4768 )
2016-09-14 21:25:15 -07:00
Doug Gregor
67fb8cc841
[Scope map] Model top-level code as a continuation of the source file.
...
Once top-level code is introduced into a source file, turn the source
file itself into a continuation, so that subsequent declarations have
proper scope information. This means we get proper scope information
for, e.g., pattern bindings and guard statements in top-level code, so
that a 'guard' at top level is a parent of all subsequent code,
including (e.g.) function declarations that might capture variables
introduced by the guard.
Continuations are now handled by more explicitly passing them down
from parent nodes to the child nodes that can accept them, and the
source file itself is modeled as a continuation as soon as the first
top-level code declaration is encountered.
2016-09-12 11:35:57 -07:00
Doug Gregor
909de5bd16
[Scope map] Type and abstract function declaration scopes can be continuations.
...
Rather than trying to specifically model local declarations of
functions and types with a "local declaration" scope, which we
introduced when we saw one of these entities with a local DeclContext,
use a more consistency scheme where:
1) we always describe a type declaration with a TypeDecl scope and an
(abstract) function declaration with an AbstractFunctionDecl scope,
and
2) either of those scopes can steal the continuation from their
parent;
This modeling is another step toward supporting top-level code.
2016-09-12 11:35:57 -07:00