diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2018-01-25 17:24:22 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2018-01-25 17:24:22 +0000 |
| commit | fcf463e1c1f55b91cd14e589e1a8ae44f7b6aaef (patch) | |
| tree | b72d351e0dcc781fc67699e5b88896db03c4138e /llvm/lib | |
| parent | d328365b2eae2376f55a930e64b16cc67a9ffb7a (diff) | |
| download | bcm5719-llvm-fcf463e1c1f55b91cd14e589e1a8ae44f7b6aaef.tar.gz bcm5719-llvm-fcf463e1c1f55b91cd14e589e1a8ae44f7b6aaef.zip | |
[ADT] Make moving Optional not reset the Optional it moves from.
This brings it in line with std::optional. My recent changes to
make Optional of trivial types trivially copyable introduced
diverging behavior depending on the type, which is bad. Now all
types have the same moving behavior.
llvm-svn: 323445
Diffstat (limited to 'llvm/lib')
0 files changed, 0 insertions, 0 deletions

