diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-10-12 17:51:19 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-10-12 17:51:19 +0000 |
commit | 574de2c5a4f025808eda36c55f871f78d585dc96 (patch) | |
tree | a7b10e0c18d8ad0a237fc52e55e6f69cf7ca3045 /llvm/docs/Bugpoint.html | |
parent | 406ac811ab1e42f39d00b45f0656e738686e972f (diff) | |
download | bcm5719-llvm-574de2c5a4f025808eda36c55f871f78d585dc96.tar.gz bcm5719-llvm-574de2c5a4f025808eda36c55f871f78d585dc96.zip |
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*();
^
llvm-svn: 83862
Diffstat (limited to 'llvm/docs/Bugpoint.html')
0 files changed, 0 insertions, 0 deletions