llvm-project/clang/lib/Sema
Fariborz Jahanian 574de2c5a4 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
2009-10-12 17:51:19 +00:00
..
CMakeLists.txt Test exception spec compatibility on return type and parameters. 2009-10-11 09:03:14 +00:00
CXXFieldCollector.h Unifies the name-lookup mechanisms used in various parts of the AST 2008-12-11 16:49:14 +00:00
CodeCompleteConsumer.cpp Minor tweaks for code-completion: 2009-10-09 22:16:47 +00:00
IdentifierResolver.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
IdentifierResolver.h Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
JumpDiagnostics.cpp Remove tabs, and whitespace cleanups. 2009-09-09 15:08:12 +00:00
Makefile Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
ParseAST.cpp Spell function pointer correctly. 2009-09-22 10:19:04 +00:00
Sema.cpp Desugaring optimizations. Add single-step desugaring methods to all 2009-09-29 23:03:30 +00:00
Sema.h Test exception spec compatibility on return type and parameters. 2009-10-11 09:03:14 +00:00
SemaAccess.cpp Refactor the code that walks a C++ inheritance hierarchy, searching 2009-10-06 17:59:45 +00:00
SemaAttr.cpp Refactor the LookupResult API to simplify most common operations. Require users to 2009-10-09 21:13:30 +00:00
SemaCXXCast.cpp Refactor the code that walks a C++ inheritance hierarchy, searching 2009-10-06 17:59:45 +00:00
SemaCXXScopeSpec.cpp Refactor the LookupResult API to simplify most common operations. Require users to 2009-10-09 21:13:30 +00:00
SemaChecking.cpp Fix checking for a null pointer constant when the expression itself is 2009-09-25 04:25:58 +00:00
SemaCodeComplete.cpp Minor tweaks for code-completion: 2009-10-09 22:16:47 +00:00
SemaDecl.cpp Qualified lookup through using declarations. Diagnose a new type of ambiguity. 2009-10-10 05:48:19 +00:00
SemaDeclAttr.cpp Refactor the LookupResult API to simplify most common operations. Require users to 2009-10-09 21:13:30 +00:00
SemaDeclCXX.cpp Test exception spec compatibility on return type and parameters. 2009-10-11 09:03:14 +00:00
SemaDeclObjC.cpp Refactor the LookupResult API to simplify most common operations. Require users to 2009-10-09 21:13:30 +00:00
SemaExceptionSpec.cpp Types appearing more than once in a spec shouldn't matter. 2009-10-11 09:11:23 +00:00
SemaExpr.cpp Add CheckCallReturnType and start using it for regular call expressions. This will improve error messages. For 2009-10-09 23:51:55 +00:00
SemaExprCXX.cpp Test exception spec compatibility on return type and parameters. 2009-10-11 09:03:14 +00:00
SemaExprObjC.cpp Refactor the LookupResult API to simplify most common operations. Require users to 2009-10-09 21:13:30 +00:00
SemaInit.cpp Improve diagnostic location information when checking the initialization of a reference 2009-09-23 23:04:10 +00:00
SemaLookup.cpp Qualified lookup through using declarations. Diagnose a new type of ambiguity. 2009-10-10 05:48:19 +00:00
SemaOverload.cpp If built-in operators could not be selected because of ambiguity in 2009-10-12 17:51:19 +00:00
SemaOverload.h Don't allow the same function to enter the overload candidate set 2009-09-28 04:47:19 +00:00
SemaStmt.cpp When the return type of a function is dependent, don't perform any 2009-10-01 23:25:31 +00:00
SemaTemplate.cpp Qualified lookup through using declarations. Diagnose a new type of ambiguity. 2009-10-10 05:48:19 +00:00
SemaTemplate.h Implement partial ordering of function template specializations 2009-09-14 18:39:43 +00:00
SemaTemplateDeduction.cpp Improve template argument deduction in the case where the parameter 2009-09-30 22:13:51 +00:00
SemaTemplateInstantiate.cpp Improve checking for specializations of member classes of class 2009-10-08 15:14:33 +00:00
SemaTemplateInstantiateDecl.cpp Refactor the LookupResult API to simplify most common operations. Require users to 2009-10-09 21:13:30 +00:00
SemaType.cpp Test exception spec compatibility on return type and parameters. 2009-10-11 09:03:14 +00:00
TreeTransform.h Introduce ObjCProtocolListType type subclass. 2009-09-29 19:42:55 +00:00