commit | 3c3f6be0c8b8d6b38e219652580e2edef0f0a757 | [log] [tgz] |
---|---|---|
author | Chandler Carruth <chandlerc@gmail.com> | Wed Nov 13 02:48:20 2013 +0000 |
committer | Chandler Carruth <chandlerc@gmail.com> | Wed Nov 13 02:48:20 2013 +0000 |
tree | 90930a40de36fc3d13e339a3b9962d6c3a5383ab | |
parent | 29f1788de96cbf88ab87e3da130cf626b2e8e029 [diff] |
Fix a null pointer dereference when copying a null polymorphic pointer. This bug only bit the C++98 build bots because all of the actual uses really do move. ;] But not *quite* ready to do the whole C++11 switch yet, so clean it up. Also add a unit test that catches this immediately. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194548 91177308-0d34-0410-b5e6-96231b3b80d8