[PATCH] Avoid llvm_unreachable when friend-ing a using declaration

John McCall rjmccall at apple.com
Thu Mar 28 13:27:11 PDT 2013


On Mar 20, 2013, at 6:48 PM, Stephen Lin <swlin at post.harvard.edu> wrote:
> Here's an updated patch: no need to propagate any extra info.
> 
> The new error message is "cannot befriend target of using
> declaration", which works for attempts to befriend both namespace and
> record level using declarations of functions and function templates.

Looks good to me.

John.



More information about the cfe-commits mailing list