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
f8fb069d47
commit
1b9906c757
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=260099
@ -5380,7 +5380,9 @@ handle_unavailable_attribute (tree *node, tree name,
|
|||||||
if (TREE_CODE (decl) == TYPE_DECL
|
if (TREE_CODE (decl) == TYPE_DECL
|
||||||
|| TREE_CODE (decl) == PARM_DECL
|
|| TREE_CODE (decl) == PARM_DECL
|
||||||
|| TREE_CODE (decl) == VAR_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;
|
TREE_UNAVAILABLE (decl) = 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user