When calling a bound pointer to member function, check the
commit33b6b15341257ecf86725f4a66f377ca0f6ce0ab
authorDouglas Gregor <doug.gregor@gmail.com>
Fri, 4 Feb 2011 12:57:49 +0000 (4 12:57 +0000)
committerDouglas Gregor <doug.gregor@gmail.com>
Fri, 4 Feb 2011 12:57:49 +0000 (4 12:57 +0000)
tree9bf5a9cda4ba1297cbfe929570ac7f7e95a040a3
parentfca03966f13275863e2d604ffc064e3d86de5857
When calling a bound pointer to member function, check the
cv-qualifiers on the object against the cv-qualifiers on the member
function. Fixes PR8315.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@124865 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
test/CXX/expr/expr.mptr.oper/p5.cpp [new file with mode: 0644]