Commit 2f25d8f
committed
[AST] Compute SubscriptDecl EndLoc
Instead of having the parser set it, compute it
using the recorded brace location for the accessor
record.1 parent 8fdb48d commit 2f25d8f
File tree
4 files changed
+24
-12
lines changed- include/swift/AST
- lib
- AST
- Parse
- test/attr
4 files changed
+24
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6814 | 6814 | | |
6815 | 6815 | | |
6816 | 6816 | | |
6817 | | - | |
6818 | 6817 | | |
6819 | 6818 | | |
6820 | 6819 | | |
| |||
6873 | 6872 | | |
6874 | 6873 | | |
6875 | 6874 | | |
6876 | | - | |
6877 | | - | |
6878 | | - | |
6879 | | - | |
6880 | | - | |
6881 | 6875 | | |
6882 | | - | |
6883 | 6876 | | |
6884 | 6877 | | |
6885 | 6878 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8860 | 8860 | | |
8861 | 8861 | | |
8862 | 8862 | | |
8863 | | - | |
| 8863 | + | |
| 8864 | + | |
| 8865 | + | |
| 8866 | + | |
| 8867 | + | |
| 8868 | + | |
| 8869 | + | |
| 8870 | + | |
| 8871 | + | |
| 8872 | + | |
| 8873 | + | |
| 8874 | + | |
| 8875 | + | |
| 8876 | + | |
| 8877 | + | |
| 8878 | + | |
| 8879 | + | |
| 8880 | + | |
| 8881 | + | |
| 8882 | + | |
| 8883 | + | |
| 8884 | + | |
| 8885 | + | |
8864 | 8886 | | |
8865 | 8887 | | |
8866 | 8888 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9607 | 9607 | | |
9608 | 9608 | | |
9609 | 9609 | | |
9610 | | - | |
9611 | | - | |
9612 | | - | |
9613 | 9610 | | |
9614 | 9611 | | |
9615 | 9612 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
155 | | - | |
| 155 | + | |
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| |||
0 commit comments