aboutsummaryrefslogtreecommitdiff
path: root/lib/Index/SelectorMap.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-10-12 17:51:19 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-10-12 17:51:19 +0000
commit27687cf7f6fea50e592f653549a33f07bf5c0667 (patch)
tree82256494992ff19e9455eb575f7ed3d67ce70a8e /lib/Index/SelectorMap.cpp
parent1555c3a3b36043e14f2d4d839cfd5b8f2df0f9e5 (diff)
If built-in operators could not be selected because of ambiguity in
user-defined type conversions, issue list of ambiguites in addition to the diagnostic. So, clang now issues the following: b.cpp:19:19: error: left hand operand to ->* must be a pointer to class compatible with the right hand operand, but is 'struct C1' int i = c1->*pmf; ~~^ b.cpp:19:19: note: because of ambiguity in conversion of 'struct C1' to 'struct E *' b.cpp:5:5: note: candidate function operator E*(); ^ b.cpp:11:5: note: candidate function operator E*(); ^ git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83862 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Index/SelectorMap.cpp')
0 files changed, 0 insertions, 0 deletions