modify cc_deprecated_attribute functions