summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/darwin_log.py
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2018-01-11 22:13:57 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2018-01-11 22:13:57 +0000
commite97654b2f28072ad9123006c05e03efd82852982 (patch)
treef82bfd1573a26a92348f59bf4d03d6c9bdb34d0c /lldb/packages/Python/lldbsuite/test/darwin_log.py
parentc43b7e61a2b48ef6aafa0f69970c2c96636fb7ae (diff)
downloadbcm5719-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/darwin_log.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud