Commit 4b9aa5e
authored
[spec/declaration] Improve docs (#3660)
Explain `Declaration` is the subset of DeclDef allowed inside a function
body.
Move TemplateMixin from DeclDef and NonEmptyStatementNoCaseNoDefault to
Declaration (which they each include).
Remove StaticAssert from DeclDef as it is already included by
Declaration.1 parent 93c7910 commit 4b9aa5e
3 files changed
+8
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
9 | 12 | | |
10 | 13 | | |
11 | 14 | | |
| |||
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| 26 | + | |
23 | 27 | | |
24 | 28 | | |
25 | | - | |
26 | | - | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | 33 | | |
36 | 34 | | |
37 | 35 | | |
| |||
629 | 627 | | |
630 | 628 | | |
631 | 629 | | |
632 | | - | |
| 630 | + | |
633 | 631 | | |
634 | 632 | | |
635 | | - | |
636 | | - | |
| 633 | + | |
| 634 | + | |
637 | 635 | | |
638 | 636 | | |
639 | 637 | | |
640 | 638 | | |
641 | 639 | | |
642 | 640 | | |
643 | 641 | | |
644 | | - | |
| 642 | + | |
645 | 643 | | |
646 | 644 | | |
647 | 645 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
68 | 66 | | |
69 | 67 | | |
70 | 68 | | |
71 | | - | |
72 | 69 | | |
73 | 70 | | |
74 | 71 | | |
| |||
0 commit comments