]> granicus.if.org Git - clang/commit
When performing a glvalue-to-xvalue static_cast that involves a
authorDouglas Gregor <dgregor@apple.com>
Tue, 25 Jan 2011 16:13:26 +0000 (16:13 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 25 Jan 2011 16:13:26 +0000 (16:13 +0000)
commit88b22a432549e315662f96abe148923c921970cb
treef767254903d852303a7e301ec7ad98ca5d9a02bb
parent630b7aefc887c19e1f7a102098b4fa7907ae6b75
When performing a glvalue-to-xvalue static_cast that involves a
derived-to-base conversion, set the cast kind and base path
appropriately.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124189 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCXXCast.cpp
test/CodeGenCXX/rvalue-references.cpp [new file with mode: 0644]