On Fri, May 3, 2013 at 7:40 AM, Rafael EspĂndola <[email protected] > wrote:
> I am not sure if the language linkage checks should use lexical or > semantic contexts. If lexical, this patch fixes pr14958. It should be lexical. Linkage specification declarations do not introduce a scope, and the relevant rule is which innermost linkage specification an entity is "declared within", which is a lexical notion (see [dcl.link]p4). Patch LGTM. Have you looked for the same bug in other places where we check the language linkage?
_______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
