AT_nsobject,
AT_cleanup,
AT_nodebug,
+ IgnoredAttribute,
UnknownAttribute
};
case 9:
if (!memcmp(Str, "dllimport", 9)) return AT_dllimport;
if (!memcmp(Str, "dllexport", 9)) return AT_dllexport;
+ if (!memcmp(Str, "may_alias", 9)) return IgnoredAttribute;
break;
case 10:
if (!memcmp(Str, "deprecated", 10)) return AT_deprecated;
case AttributeList::AT_pure: HandlePureAttr (D, Attr, S); break;
case AttributeList::AT_cleanup: HandleCleanupAttr (D, Attr, S); break;
case AttributeList::AT_nodebug: HandleNodebugAttr (D, Attr, S); break;
+ case AttributeList::IgnoredAttribute:
+ // Just ignore
+ break;
default:
#if 0
// TODO: when we have the full set of attributes, warn about unknown ones.