[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
Loading
Please register or sign in to comment