Commit 2f59d9e0 by Jason Merrill

* gcc/cp/tree.c: Tweak comment in no_linkage_check.

From-SVN: r156300
parent 0f277ad4
...@@ -1612,7 +1612,7 @@ no_linkage_check (tree t, bool relaxed_p) ...@@ -1612,7 +1612,7 @@ no_linkage_check (tree t, bool relaxed_p)
/* Fall through. */ /* Fall through. */
case ENUMERAL_TYPE: case ENUMERAL_TYPE:
/* Only treat anonymous types as having no linkage if they're at /* Only treat anonymous types as having no linkage if they're at
namespace scope. This doesn't have a core issue number yet. */ namespace scope. This is core issue 966. */
if (TYPE_ANONYMOUS_P (t) && TYPE_NAMESPACE_SCOPE_P (t)) if (TYPE_ANONYMOUS_P (t) && TYPE_NAMESPACE_SCOPE_P (t))
return t; return t;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment