Commit Graph

4 Commits

Author SHA1 Message Date
Nate Chandler
08a832b803 [AllocBoxToStack] Transfer var_decl flag.
As with the lexical flag, when creating an alloc_stack corresponding to
an alloc_box, transfer the var_decl flag from any begin_borrow users of
the box.
2024-03-08 22:28:22 -08:00
Nate Chandler
9bb0187be1 [SILGen] Add begin_borrow [var_decl] lifetimes. 2023-11-28 07:26:09 -08:00
Michael Gottesman
d915cf37cb [reference-bindings] Add some more tests. 2023-08-14 13:34:03 -07:00
Michael Gottesman
adeae2f63e [reference-bindings] Inout Binding ensure that we handle fields correctly
I also:

1. Added some basic SILGen/SILOptimizer/Interpreter tests.
2. Added some logging and cleaned up the pass a little bit.

rdar://112033023
2023-07-11 13:27:51 -07:00