gcc: Fix issue with "unavailable" attribute.
While here, point where we dropped the support for objc from r260014. MFC after: 3 weeks
This commit is contained in:
parent
16b0bb1da4
commit
a54ccfd7d6
@ -5380,7 +5380,9 @@ handle_unavailable_attribute (tree *node, tree name,
|
||||
if (TREE_CODE (decl) == TYPE_DECL
|
||||
|| TREE_CODE (decl) == PARM_DECL
|
||||
|| TREE_CODE (decl) == VAR_DECL
|
||||
|| TREE_CODE (decl) == FUNCTION_DECL)
|
||||
|| TREE_CODE (decl) == FUNCTION_DECL
|
||||
|| TREE_CODE (decl) == FIELD_DECL)
|
||||
/* Removed radar 3803157 - objc attribute */
|
||||
{
|
||||
TREE_UNAVAILABLE (decl) = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user