Attached is a patch that seems to fix PR5751 by looking through using decls when resolving overloaded candidate functions. Does this look correct? Should this perhaps be factored into UnresolvedLookupExpr? In ResolveAddressOfOverloadedFunction, I'm applying the logic even for member functions, is that correct?
Also, this includes a test case more specifically targeted at overload resolution rather than templates. Would it be useful to include template-specific test case here or is that covered elsewhere? And is using-decl-1 the correct place to put the test case? I remember Chris indicating he wanted fewer files and longer tests these days...
pr5751.patch
Description: Binary data
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
