commit | 72dfa27b415b15157a9d1fc33b6ed21f0085bed2 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Fri Jan 21 22:46:35 2011 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Fri Jan 21 22:46:35 2011 +0000 |
tree | e42e929167b7928c6792531b8ef00b2c8c686d1b | |
parent | 07f402cff25354c5f06f307f19b0c57c09d964bd [diff] |
When throwing an elidable object, first try to treat the subexpression as an rvalue per C++0x [class.copy]p33. If that fails, try again with the original subexpression. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124002 91177308-0d34-0410-b5e6-96231b3b80d8