Commit 1d6da90
[clang][bytecode] Diagnose delete of non-heap-allocated blocks (llvm#137475)
With std::allocator::deallocate() calls1 parent 94b9da1 commit 1d6da90
File tree
2 files changed
+13
-1
lines changed- clang
- lib/AST/ByteCode
- test/AST/ByteCode
2 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1641 | 1641 | | |
1642 | 1642 | | |
1643 | 1643 | | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
1644 | 1651 | | |
1645 | 1652 | | |
1646 | 1653 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
610 | 610 | | |
611 | 611 | | |
612 | 612 | | |
613 | | - | |
| 613 | + | |
| 614 | + | |
614 | 615 | | |
615 | 616 | | |
616 | 617 | | |
| |||
1004 | 1005 | | |
1005 | 1006 | | |
1006 | 1007 | | |
| 1008 | + | |
| 1009 | + | |
| 1010 | + | |
| 1011 | + | |
1007 | 1012 | | |
1008 | 1013 | | |
1009 | 1014 | | |
| |||
0 commit comments