tree.h (merge_dllimport_decl_attributes, [...]): Remove conditional exposure of proto...
[gcc.git] / gcc / cp / decl.c
index 3cb9ca1992262fb934c04a69569e3e122386b1cf..c102a4ee7171a74f292ae84ba899ec331c660393 100644 (file)
@@ -10389,7 +10389,7 @@ grokdeclarator (const cp_declarator *declarator,
          /* Replace the anonymous name with the real name everywhere.  */
          for (t = TYPE_MAIN_VARIANT (type); t; t = TYPE_NEXT_VARIANT (t))
            {
-             if (ANON_AGGRNAME_P (TYPE_IDENTIFIER (t)))
+             if (anon_aggrname_p (TYPE_IDENTIFIER (t)))
                /* We do not rename the debug info representing the
                   anonymous tagged type because the standard says in
                   [dcl.typedef] that the naming applies only for
@@ -12290,7 +12290,7 @@ xref_tag_1 (enum tag_types tag_code, tree name,
 
   /* In case of anonymous name, xref_tag is only called to
      make type node and push name.  Name lookup is not required.  */
-  if (ANON_AGGRNAME_P (name))
+  if (anon_aggrname_p (name))
     t = NULL_TREE;
   else
     t = lookup_and_check_tag  (tag_code, name,