]> granicus.if.org Git - clang/commit
Rvalue references for *this: explicitly keep track of whether a
authorDouglas Gregor <dgregor@apple.com>
Wed, 26 Jan 2011 19:41:18 +0000 (19:41 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 26 Jan 2011 19:41:18 +0000 (19:41 +0000)
commitfcab48b626b7ce43625958e857061d721a43a5bc
tree1a65b40618eb9783e7aa7cdfd7557559a31de9ea
parent2c9a03f3b249e4d9d76eadf758a33142adc4d0a4
Rvalue references for *this: explicitly keep track of whether a
reference binding is for the implicit object parameter of a member
function with a ref-qualifier. My previous comment, that we didn't
need to track this explicitly, was wrong: we do in fact get
rvalue-references-prefer-rvalues overloading with ref-qualifiers.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124313 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Sema/Overload.h
lib/Sema/SemaOverload.cpp
test/CXX/over/over.match/over.match.funcs/p4-0x.cpp