]> git.ipfire.org Git - thirdparty/gcc.git/commit
Objective-C/C++ : Allow visibility prefix attributes on interfaces.
authorIain Sandoe <iain@sandoe.co.uk>
Sun, 25 Oct 2020 17:34:29 +0000 (17:34 +0000)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 6 Nov 2020 19:55:25 +0000 (19:55 +0000)
commit6e8e1036f79e575fbe1eda57957158291c12f195
treeefde6cebe0d6418077b99b3279204ec932cea116
parent9a34a5cce6b50fc3527e7c7ab356808ed435883c
Objective-C/C++ : Allow visibility prefix attributes on interfaces.

This passes visibiliy through without warning (so that, for example,
__attribute__((__visibility("default"))) does not result in any
diagnostic).

gcc/objc/ChangeLog:

* objc-act.c (start_class): Accept visibility attributes
without warning.
gcc/objc/objc-act.c