diff options
author | Alex Zinenko <zinenko@google.com> | 2019-12-21 09:44:50 -0800 |
---|---|---|
committer | A. Unique TensorFlower <gardener@tensorflow.org> | 2019-12-21 09:45:24 -0800 |
commit | dcc14f08656a82aadd326aeca54b95b5b866fc86 (patch) | |
tree | d30ffc2652d65ffe28a3c67b50961cf4a5770af1 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | ee71ca1d5c01f2cfee6b27d6c162039917caef0f (diff) | |
download | bcm5719-llvm-dcc14f08656a82aadd326aeca54b95b5b866fc86.tar.gz bcm5719-llvm-dcc14f08656a82aadd326aeca54b95b5b866fc86.zip |
Make Type and Attribute classes trivially copyable
This requires using explicitly default copy constructor and copy assignment
operator instead of hand-rolled ones. These classes are indeed cheap to copy
since they are wrappers around a pointer to the implementation. This change
makes sure templated code can use standard type traits to understand that
copying such objects is cheap and appeases analysis tools such as clang-tidy.
PiperOrigin-RevId: 286725565
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions