Commit ca0aeb2
committed
Verify that a Decl's DeclContext and a DeclContext's parent are in sync
When a Decl is also a DeclContext, these two concepts are identical,
and we rely on that throughout the compiler.
No functionality change; we appear to already be doing this correctly.1 parent 38e5c8a commit ca0aeb2
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
540 | 540 | | |
541 | 541 | | |
542 | 542 | | |
| 543 | + | |
543 | 544 | | |
544 | | - | |
545 | | - | |
| 545 | + | |
546 | 546 | | |
547 | 547 | | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
548 | 556 | | |
549 | 557 | | |
550 | 558 | | |
| |||
0 commit comments