diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-10-09 17:09:58 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-10-09 17:09:58 +0000 |
commit | ad3607da8ad626c408d8e6d804bf1359977b200a (patch) | |
tree | 673756fd5fe06ee94f6189146c71e7b73a62a087 /lib/Driver/Driver.cpp | |
parent | 5ecd5399421799892a2b3dc5456e816bd6d827ab (diff) |
Produce good looking diagnostics on ambiguous built-in operators.
Now we produce things like:
bug1.cpp:21:11: error: use of overloaded operator '->*' is ambiguous
int i = c->*pmf; // expected-error {{use of overloaded operator '->*' is ambiguous}} \
~^ ~~~
bug1.cpp:21:11: note: built-in candidate operator ->* ('struct A volatile *', 'int const struct A::*')
bug1.cpp:21:11: note: built-in candidate operator ->* ('struct A volatile *', 'int restrict struct A::*')
...
Still need to look at an issue (indicated as FIXME in the test case).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@83650 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
0 files changed, 0 insertions, 0 deletions