diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-01-11 22:13:57 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2018-01-11 22:13:57 +0000 |
commit | e97654b2f28072ad9123006c05e03efd82852982 (patch) | |
tree | f82bfd1573a26a92348f59bf4d03d6c9bdb34d0c /lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py | |
parent | c43b7e61a2b48ef6aafa0f69970c2c96636fb7ae (diff) | |
download | bcm5719-llvm-e97654b2f28072ad9123006c05e03efd82852982.tar.gz bcm5719-llvm-e97654b2f28072ad9123006c05e03efd82852982.zip |
Handle scoped_lockable objects being returned by value in C++17.
In C++17, guaranteed copy elision means that there isn't necessarily a
constructor call when a local variable is initialized by a function call that
returns a scoped_lockable by value. In order to model the effects of
initializing a local variable with a function call returning a scoped_lockable,
pretend that the move constructor was invoked within the caller at the point of
return.
llvm-svn: 322316
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py')
0 files changed, 0 insertions, 0 deletions