llvm-project/clang/lib/Sema
John McCall d14a86427f "Incremental" progress on using expressions, by which I mean totally ripping
into pretty much everything about overload resolution in order to wean
BuildDeclarationNameExpr off LookupResult::getAsSingleDecl().  Replace  
UnresolvedFunctionNameExpr with UnresolvedLookupExpr, which generalizes the
idea of a non-member lookup that we haven't totally resolved yet, whether by
overloading, argument-dependent lookup, or (eventually) the presence of   
a function template in the lookup results.  

Incidentally fixes a problem with argument-dependent lookup where we were 
still performing ADL even when the lookup results contained something from
a block scope.  

Incidentally improves a diagnostic when using an ObjC ivar from a class method.
This just fell out from rewriting BuildDeclarationNameExpr's interaction with
lookup, and I'm too apathetic to break it out.

The only remaining uses of OverloadedFunctionDecl that I know of are in
TemplateName and MemberExpr.

llvm-svn: 89544
2009-11-21 08:51:07 +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 Improve code-completion results for the flags in an @property 2009-11-19 00:01:57 +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 Silence some warnings produced by Clang, and add a missing header 2009-11-17 06:14:37 +00:00
Lookup.h "Incremental" progress on using expressions, by which I mean totally ripping 2009-11-21 08:51:07 +00:00
Makefile Installation of Clang libraries and headers, from Axel Naumann! 2009-10-08 22:15:31 +00:00
ParseAST.cpp Fixes a typo, reported by Doug. 2009-11-17 17:15:16 +00:00
Sema.cpp Do not enter forward class 'Protocol' in decl context. 2009-11-18 23:15:37 +00:00
Sema.h "Incremental" progress on using expressions, by which I mean totally ripping 2009-11-21 08:51:07 +00:00
SemaAccess.cpp Refactor the code that walks a C++ inheritance hierarchy, searching 2009-10-06 17:59:45 +00:00
SemaAttr.cpp Split LookupResult into its own header. 2009-11-18 07:57:50 +00:00
SemaCXXCast.cpp CastsAwayConstness shouldn't care if member pointers point into different classes. Fixes PR5545. 2009-11-18 18:10:53 +00:00
SemaCXXScopeSpec.cpp Split LookupResult into its own header. 2009-11-18 07:57:50 +00:00
SemaChecking.cpp Adjust format attribute index for implicit object arguments. Fixes PR5521. 2009-11-17 18:02:24 +00:00
SemaCodeComplete.cpp "Incremental" progress on using expressions, by which I mean totally ripping 2009-11-21 08:51:07 +00:00
SemaDecl.cpp Added rudimentary C++0x attribute support. 2009-11-21 08:43:09 +00:00
SemaDeclAttr.cpp Added rudimentary C++0x attribute support. 2009-11-21 08:43:09 +00:00
SemaDeclCXX.cpp "Incremental" progress on using expressions, by which I mean totally ripping 2009-11-21 08:51:07 +00:00
SemaDeclObjC.cpp Don't warn if objc method param types in declaration and 2009-11-18 18:56:09 +00:00
SemaExceptionSpec.cpp First part of changes to eliminate problems with cv-qualifiers and 2009-11-16 21:35:15 +00:00
SemaExpr.cpp "Incremental" progress on using expressions, by which I mean totally ripping 2009-11-21 08:51:07 +00:00
SemaExprCXX.cpp "Incremental" progress on using expressions, by which I mean totally ripping 2009-11-21 08:51:07 +00:00
SemaExprObjC.cpp Remove default argument for ImpCastExprToType. Add appropriate argument 2009-10-20 08:27:19 +00:00
SemaInit.cpp Deduce a ConstantArrayType from a value-dependent initializer list 2009-11-19 23:25:22 +00:00
SemaLookup.cpp "Incremental" progress on using expressions, by which I mean totally ripping 2009-11-21 08:51:07 +00:00
SemaOverload.cpp "Incremental" progress on using expressions, by which I mean totally ripping 2009-11-21 08:51:07 +00:00
SemaOverload.h This patch implements Sema for clause 13.3.3.1p4. 2009-11-06 00:23:08 +00:00
SemaStmt.cpp Don't issue spurious diagnostic with Obj-C fast enumeration. 2009-11-19 22:12:37 +00:00
SemaTemplate.cpp Cope with extraneous "template" keyword when providing an out-of-line 2009-11-20 23:39:24 +00:00
SemaTemplate.h Implement partial ordering of function template specializations 2009-09-14 18:39:43 +00:00
SemaTemplateDeduction.cpp First part of changes to eliminate problems with cv-qualifiers and 2009-11-16 21:35:15 +00:00
SemaTemplateInstantiate.cpp "Incremental" progress on using expressions, by which I mean totally ripping 2009-11-21 08:51:07 +00:00
SemaTemplateInstantiateDecl.cpp Overhaul previous-declaration and overload checking to work on lookup results 2009-11-18 22:49:29 +00:00
SemaType.cpp Make sure that Type::getAs<ArrayType>() (or Type::getAs<subclass of 2009-11-09 22:08:55 +00:00
TreeTransform.h "Incremental" progress on using expressions, by which I mean totally ripping 2009-11-21 08:51:07 +00:00