diff options
| author | Martin Braenne <mboehme@google.com> | 2023-05-23 09:35:52 +0000 |
|---|---|---|
| committer | Martin Braenne <mboehme@google.com> | 2023-05-25 08:38:33 +0000 |
| commit | 64413584dacba1fccffa345f69043b3509ee1745 (patch) | |
| tree | a794afa2c8d5cf04cb344ed9e2285932afab1691 /lldb/packages/Python/lldbsuite/test/lldbgdbclient.py | |
| parent | 6fdc77e4884ba22453c0042ab6b11cf43499958d (diff) | |
| download | llvm-64413584dacba1fccffa345f69043b3509ee1745.zip llvm-64413584dacba1fccffa345f69043b3509ee1745.tar.gz llvm-64413584dacba1fccffa345f69043b3509ee1745.tar.bz2 | |
[clang][dataflow] Add support for return values of reference type.
This patch changes the way `Environment::ReturnLoc` is set: Whereas previously it was set by the caller, it is now set by the callee (obviously, as we otherwise would not be able to return references).
The patch also introduces `Environment::ReturnVal`, which is used for non-reference-type return values. This allows these to be handled with the correct value category semantics; see also https://discourse.llvm.org/t/70086, which describes the ongoing migration to strict value category semantics.
Depends On D150776
Reviewed By: ymandel, xazax.hun
Differential Revision: https://reviews.llvm.org/D151194
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/lldbgdbclient.py')
0 files changed, 0 insertions, 0 deletions
