Teach static_cast and dynamic_cast about rvalue references.
commitea19a2109cf9a894134fd0d7e9758f511e08a11e
authorDouglas Gregor <doug.gregor@gmail.com>
Sat, 22 Jan 2011 00:06:57 +0000 (22 00:06 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Sat, 22 Jan 2011 00:06:57 +0000 (22 00:06 +0000)
tree8eb778de1c05a78bd927110f62873d36060d1813
parentac9a14514d54fb2f531829c8a6b2c4c343d20a8a
Teach static_cast and dynamic_cast about rvalue references.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124006 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCXXCast.cpp
test/CXX/expr/expr.post/expr.dynamic.cast/p3-0x.cpp [new file with mode: 0644]
test/CXX/expr/expr.post/expr.static.cast/p3-0x.cpp [new file with mode: 0644]