]> granicus.if.org Git - clang/commit
When trying to resolve the address of an overloaded expression,
authorJohn McCall <rjmccall@apple.com>
Tue, 24 Aug 2010 22:52:39 +0000 (22:52 +0000)
committerJohn McCall <rjmccall@apple.com>
Tue, 24 Aug 2010 22:52:39 +0000 (22:52 +0000)
commitfb97e75e627599aaa7a613778134e290f9de663b
tree18855c1b8c3f75781ed9dd333e7754ae1931766d
parent4153a060f4cd03e9db1349328a158e9d898a2610
When trying to resolve the address of an overloaded expression,
only form pointers-to-member if the expression has the appropriate
form.  This avoids assertions later on on invalid code, but also
allows us to properly resolve mixed-staticity overloads.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111987 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/Basic/DiagnosticSemaKinds.td
lib/Sema/SemaExpr.cpp
lib/Sema/SemaOverload.cpp
test/CXX/class/class.mfct/class.mfct.non-static/p3.cpp