diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2018-07-03 01:18:21 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2018-07-03 01:18:21 +0000 |
commit | f814ad8932ef070ae901677299beecb4410e1b53 (patch) | |
tree | cc86a5792708a8eb8370899419cfe403f9048d00 /lldb/packages/Python/lldbsuite/test/python_api | |
parent | f8182f1aef5b6ec74cbe2c1618e759f0113921ba (diff) | |
download | bcm5719-llvm-f814ad8932ef070ae901677299beecb4410e1b53.tar.gz bcm5719-llvm-f814ad8932ef070ae901677299beecb4410e1b53.zip |
[Support] Fix llvm::unique_function when building with GCC 4.9 by
introducing llvm::trivially_{copy,move}_constructible type traits.
This uses a completely portable implementation of these traits provided
by Richard Smith. You can see it on compiler explorer in all its glory:
https://godbolt.org/g/QEDZjW
I have transcribed it, clang-formatted it, added some comments, and made
the tests fit into a unittest file.
I have also switched llvm::unique_function over to use these new, much
more portable traits. =D
Hopefully this will fix the build bot breakage from my prior commit.
llvm-svn: 336161
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions