Commit 2bcc553
Fix const detection and add #p to struct assume vals
- Detect const on any parameter type (not just pointers), supporting
const structs with nested pointers
- Add (#p: perm) to struct unfold/fold/getter assume vals
- Keep pointee-const detection for const int *x pattern
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 3191d80 commit 2bcc553
2 files changed
Lines changed: 17 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
794 | 794 | | |
795 | 795 | | |
796 | 796 | | |
| 797 | + | |
| 798 | + | |
797 | 799 | | |
798 | 800 | | |
799 | 801 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1638 | 1638 | | |
1639 | 1639 | | |
1640 | 1640 | | |
| 1641 | + | |
1641 | 1642 | | |
1642 | 1643 | | |
1643 | 1644 | | |
| |||
1652 | 1653 | | |
1653 | 1654 | | |
1654 | 1655 | | |
| 1656 | + | |
1655 | 1657 | | |
1656 | 1658 | | |
1657 | 1659 | | |
| |||
1660 | 1662 | | |
1661 | 1663 | | |
1662 | 1664 | | |
| 1665 | + | |
1663 | 1666 | | |
1664 | 1667 | | |
1665 | 1668 | | |
| |||
1677 | 1680 | | |
1678 | 1681 | | |
1679 | 1682 | | |
1680 | | - | |
1681 | | - | |
1682 | | - | |
1683 | | - | |
1684 | | - | |
| 1683 | + | |
| 1684 | + | |
| 1685 | + | |
| 1686 | + | |
| 1687 | + | |
| 1688 | + | |
| 1689 | + | |
| 1690 | + | |
1685 | 1691 | | |
1686 | 1692 | | |
1687 | 1693 | | |
| |||
1697 | 1703 | | |
1698 | 1704 | | |
1699 | 1705 | | |
| 1706 | + | |
1700 | 1707 | | |
1701 | 1708 | | |
1702 | 1709 | | |
| |||
1705 | 1712 | | |
1706 | 1713 | | |
1707 | 1714 | | |
| 1715 | + | |
1708 | 1716 | | |
1709 | 1717 | | |
1710 | 1718 | | |
| |||
1761 | 1769 | | |
1762 | 1770 | | |
1763 | 1771 | | |
| 1772 | + | |
1764 | 1773 | | |
1765 | 1774 | | |
1766 | 1775 | | |
| |||
1772 | 1781 | | |
1773 | 1782 | | |
1774 | 1783 | | |
| 1784 | + | |
1775 | 1785 | | |
1776 | 1786 | | |
1777 | 1787 | | |
| |||
0 commit comments