diff options
author | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-29 13:16:55 +0000 |
---|---|---|
committer | bstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-11-29 13:16:55 +0000 |
commit | 1852c1a4d9758d3dc7e90e692c891ee62013a47a (patch) | |
tree | 11a5be817c6fe01676442d5c61b6b0e65deb627f /gcc/objc/objc-act.h | |
parent | 554660f9394aeb787c52966e0c33dea966999783 (diff) | |
download | gcc-1852c1a4d9758d3dc7e90e692c891ee62013a47a.tar.gz |
2010-11-29 Basile Starynkevitch <basile@starynkevitch.net>
MELT branch merged with trunk rev 167237
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@167239 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc/objc-act.h')
-rw-r--r-- | gcc/objc/objc-act.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.h b/gcc/objc/objc-act.h index f612e745d04..6403161da7b 100644 --- a/gcc/objc/objc-act.h +++ b/gcc/objc/objc-act.h @@ -113,6 +113,11 @@ typedef enum objc_property_assign_semantics { setter, it is set to 1. */ #define PROPERTY_HAS_NO_SETTER(DECL) DECL_LANG_FLAG_4 (DECL) +/* PROPERTY_OPTIONAL can be 0 or 1. Normally it is 0, but if this is + a property declared as @optional in a @protocol, then it is set to + 1. */ +#define PROPERTY_OPTIONAL(DECL) DECL_LANG_FLAG_5 (DECL) + /* PROPERTY_REF. A PROPERTY_REF represents an 'object.property' expression. It is normally used for property access, but when the Objective-C 2.0 "dot-syntax" (object.component) is used |