]> granicus.if.org Git - clang/commit
Implement the restriction that a function with a ref-qualifier cannot
authorDouglas Gregor <dgregor@apple.com>
Wed, 26 Jan 2011 21:20:37 +0000 (21:20 +0000)
committerDouglas Gregor <dgregor@apple.com>
Wed, 26 Jan 2011 21:20:37 +0000 (21:20 +0000)
commitb145ee6cc7d7db42ca4351ff3fe91f04e86a2f67
tree3feec0884a90652a1ca8b00bfbf0d173d3fc5b93
parent8ec14e605725a87991f622d63f547f877ba59fef
Implement the restriction that a function with a ref-qualifier cannot
overload a function without a ref-qualifier (C++0x
[over.load]p2). This, apparently, completes the implementation of
rvalue references for *this.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124321 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaOverload.cpp
test/CXX/over/over.load/p2-0x.cpp