diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-11-02 21:12:38 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2020-11-07 11:50:23 +0000 |
commit | 6f762481a21f211c03b6eda416b5d5737c3ed4b7 (patch) | |
tree | 4161b1ecdf8f258514b70f54e4cf0b1cf9937804 /contrib/unicode | |
parent | 0c30bf43eb2325caa4cb32a697ac1127c15205d7 (diff) | |
download | gcc-6f762481a21f211c03b6eda416b5d5737c3ed4b7.zip gcc-6f762481a21f211c03b6eda416b5d5737c3ed4b7.tar.gz gcc-6f762481a21f211c03b6eda416b5d5737c3ed4b7.tar.bz2 |
Objective-C/C++ (C-family) : Add missing 'atomic' property attribute.
This is the default, but it is still legal in user code and therefore
we should handle it in parsing. Fix whitespace issues in the lines
affected.
gcc/c-family/ChangeLog:
* c-common.c (c_common_reswords): Add 'atomic' property
attribute.
* c-common.h (enum rid): Add RID_PROPATOMIC for atomic
property attributes.
gcc/objc/ChangeLog:
* objc-act.c (objc_prop_attr_kind_for_rid): Handle
RID_PROPATOMIC.
gcc/testsuite/ChangeLog:
* obj-c++.dg/property/at-property-4.mm: Test atomic property
attribute.
* objc.dg/property/at-property-4.m: Likewise.
Diffstat (limited to 'contrib/unicode')
0 files changed, 0 insertions, 0 deletions