Commit f085261
committed
[IRBuilder] Add additional overload with in-place Inserter construction (NFC)
Currently, for IRBuilders that require an explicitly constructed
Folder, we also force Inserter to be constructed and then copied.
Provide a variant where the Inserter uses in-place default
construction, to support cases where it is self-referential.1 parent 108e6bc commit f085261
1 file changed
+6
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2708 | 2708 | | |
2709 | 2709 | | |
2710 | 2710 | | |
2711 | | - | |
| 2711 | + | |
2712 | 2712 | | |
2713 | 2713 | | |
2714 | 2714 | | |
2715 | 2715 | | |
2716 | 2716 | | |
| 2717 | + | |
| 2718 | + | |
| 2719 | + | |
| 2720 | + | |
| 2721 | + | |
2717 | 2722 | | |
2718 | 2723 | | |
2719 | 2724 | | |
| |||
0 commit comments