Commit a95891c
committed
Sema: Rename checkDeclarationAvailability().
Type checker functions with the prefix "check" usually check some requirement
and then diagnose it if it isn't satisfied. `checkDeclarationAvailability()`
doesn't diagnose on its own, so it should be named differently.1 parent d62a9cb commit a95891c
File tree
4 files changed
+12
-11
lines changed- lib/Sema
4 files changed
+12
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4683 | 4683 | | |
4684 | 4684 | | |
4685 | 4685 | | |
4686 | | - | |
| 4686 | + | |
| 4687 | + | |
4687 | 4688 | | |
4688 | 4689 | | |
4689 | 4690 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3099 | 3099 | | |
3100 | 3100 | | |
3101 | 3101 | | |
3102 | | - | |
3103 | | - | |
3104 | | - | |
| 3102 | + | |
| 3103 | + | |
| 3104 | + | |
3105 | 3105 | | |
3106 | 3106 | | |
3107 | 3107 | | |
| |||
3140 | 3140 | | |
3141 | 3141 | | |
3142 | 3142 | | |
3143 | | - | |
3144 | 3143 | | |
3145 | 3144 | | |
3146 | 3145 | | |
| |||
4153 | 4152 | | |
4154 | 4153 | | |
4155 | 4154 | | |
4156 | | - | |
| 4155 | + | |
4157 | 4156 | | |
4158 | 4157 | | |
4159 | 4158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
316 | 316 | | |
317 | 317 | | |
318 | 318 | | |
319 | | - | |
320 | | - | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
321 | 322 | | |
322 | 323 | | |
323 | 324 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
0 commit comments