Update const_cast semantics for rvalue references. Add tests for
commit9b391cee6772138991edc4c4333ee8da06547110
authorDouglas Gregor <doug.gregor@gmail.com>
Sat, 22 Jan 2011 00:19:52 +0000 (22 00:19 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Sat, 22 Jan 2011 00:19:52 +0000 (22 00:19 +0000)
tree65695e9063ee55a84eda5d07f7bf38f579c205e9
parentea19a2109cf9a894134fd0d7e9758f511e08a11e
Update const_cast semantics for rvalue references. Add tests for
reinterpret_cast and const_cast using rvalue references.

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