llvm-project/clang/lib
Fariborz Jahanian 0fe5e0308e 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
2009-10-09 17:09:58 +00:00
..
AST Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
Analysis Make the behavior explicit by not using the method call. 2009-10-09 02:18:31 +00:00
Basic "Someone pointed out that in my previous Targets.cpp patch I didn't 2009-10-08 23:00:00 +00:00
CodeGen Avoid warning. 2009-10-09 01:25:47 +00:00
Driver Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
Frontend Add a refactor pointer... 2009-10-08 23:57:53 +00:00
Headers Make our char vector types not be explicitly signed to match GCC and to fix compilation with C++ and -fno-lax-vector-conversions 2009-09-18 19:18:19 +00:00
Index Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
Lex This fixes support for complex literals, reworked to avoid a goto, and 2009-10-08 22:55:36 +00:00
Parse Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
Rewrite Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
Sema Produce good looking diagnostics on ambiguous built-in operators. 2009-10-09 17:09:58 +00:00
CMakeLists.txt Introduce the 'Index' library. 2009-07-05 22:22:19 +00:00
Makefile Introduce the 'Index' library. 2009-07-05 22:22:19 +00:00