David Ungar
f64033a2d2
Manual rebase with master
2019-08-06 22:13:20 -07:00
Slava Pestov
6c5ecb5fc9
AST: Introduce AbstractStorageDecl::visit{Parsed,Emitted}Accessors()
2019-08-06 16:30:13 -04:00
David Ungar
e3d6e6b844
Merge pull request #26416 from davidungar/pbd-sourcerange
...
[ASTScope lookup] Fix PatternBindingEntry initializer getters and rectify its source range
2019-08-05 14:48:47 -07:00
David Ungar
b38076490b
Address review comments re clarity
...
setOrigInit -> setOriginalInit
2019-08-05 13:42:35 -07:00
David Ungar
1011998a97
Fix PatternBindingEntry::getSourceRange
2019-08-01 16:59:40 -07:00
Slava Pestov
64c32c695b
AST: Remove a few utility methods from AbstractStorageDecl
...
Since the return value of getAccessor() depends on mutable state, it
does not make sense in the request evaluator world. Let's begin by
removing some utility methods derived from getAccessor(), replacing
calls to them with calls to getAccessor().
2019-08-01 18:31:58 -04:00
David Ungar
ae7e67caf0
Ignore invalid PBDs
2019-06-23 11:03:40 -07:00
David Ungar
3a3145c0f4
Alternate SelfDC computation, fixes, and cleanups.
...
ASTScopeLookup by default
Create empty fn bodies for IDE tests.
Include initializer source range for property wrappers.
Add -disable-astscope-lookup
2019-06-23 09:17:09 -07:00
David Ungar
320dd89baf
typo
2019-06-13 21:41:39 -07:00
David Ungar
50358b21f9
cosmetic
2019-06-13 11:43:55 -07:00
David Ungar
40cd518fd9
Rm doISplitAScope for visitBraceStmt
2019-06-12 16:44:24 -07:00
David Ungar
6f6a772642
implicit checks
2019-06-12 14:17:26 -07:00
David Ungar
21905c13ce
Rename ASTNode_or_DeclPtr
2019-06-12 07:36:13 -07:00
David Ungar
916b217722
Outline expandInContext
2019-06-12 07:34:00 -07:00
David Ungar
69f6b41a13
Use unique_ptr for Scope, getScope returns a reference
2019-06-12 07:29:00 -07:00
David Ungar
455b344397
fmt
2019-06-10 15:38:01 -07:00
David Ungar
2b7b7cfec1
Fix unfmt still rm startLocAccordingToCondition
2019-06-10 14:27:24 -07:00
David Ungar
f203509250
fixes, unfmted, rm startLocAccordingToCondition
2019-06-10 14:03:34 -07:00
David Ungar
6a8d91f673
fmt
2019-06-10 13:18:58 -07:00
David Ungar
17bb03112e
new cond use scheme
2019-06-10 13:18:18 -07:00
David Ungar
7d1f024e07
WIP unfmt
2019-06-10 12:10:21 -07:00
David Ungar
2baa473385
only redo cache at top level
2019-06-09 20:52:08 -07:00
David Ungar
2e46fe16f7
Move insertion point
2019-06-09 20:10:30 -07:00
David Ungar
8d526b399e
Change insertion point for no-expand nodes
2019-06-09 18:17:24 -07:00
David Ungar
d96896cf4e
compiles, fmt after big deferred redo
2019-06-09 17:36:44 -07:00
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
cbed41423b
Minor renaming
2019-06-09 10:40:50 -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
c0af241576
Fix yield expansion
2019-06-09 09:54:54 -07:00
David Ungar
2e9f6c0f15
Formats and fixes
2019-06-08 11:51:35 -07:00
David Ungar
9dd2cae9ca
Share lastAdopter
2019-06-08 11:39:02 -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
3b8359c33c
statement cond bug fix
2019-06-06 09:18:00 -07:00
David Ungar
f9974468a7
fixes
2019-06-05 21:28:04 -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
ee6c49c59e
Create guard use always
2019-06-05 10:45:16 -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
1c0da7511c
Renaming
2019-06-05 08:31:00 -07:00
David Ungar
50e599b036
Renaming
2019-06-05 08:00:49 -07:00
David Ungar
15cc98cc14
WIP HERE
2019-06-04 21:52:57 -07:00