aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineFunction.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2009-10-09 17:09:58 +0000
committerFariborz Jahanian <fjahanian@apple.com>2009-10-09 17:09:58 +0000
commit0fe5e0308efd1f08a5fa9b88da965628f25c32bf (patch)
treef2815d1230b29e69f6d6204ecb83bd4060e9c381 /llvm/lib/CodeGen/MachineFunction.cpp
parentdc4893abfe298ae85cf1654d93580b016f83aa1a (diff)
downloadllvm-0fe5e0308efd1f08a5fa9b88da965628f25c32bf.zip
llvm-0fe5e0308efd1f08a5fa9b88da965628f25c32bf.tar.gz
llvm-0fe5e0308efd1f08a5fa9b88da965628f25c32bf.tar.bz2
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). llvm-svn: 83650
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions