diff options
author | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-10-20 12:47:54 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@nokia.com> | 2009-10-20 12:48:23 +0200 |
commit | 56f755efe8f5c367b284347c73b9221ca0160de1 (patch) | |
tree | f3784a2c0ac4082ed894eef233ca89556b966ee5 /src/shared/cplusplus/Control.h | |
parent | c5cf70c6b8addf392c692f6a3d8eb5f1b900e167 (diff) | |
download | qt-creator-56f755efe8f5c367b284347c73b9221ca0160de1.tar.gz |
Changed ObjC context keyword comparison to use identifiers.
Diffstat (limited to 'src/shared/cplusplus/Control.h')
-rw-r--r-- | src/shared/cplusplus/Control.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/shared/cplusplus/Control.h b/src/shared/cplusplus/Control.h index 615eab38f8..d4db273e43 100644 --- a/src/shared/cplusplus/Control.h +++ b/src/shared/cplusplus/Control.h @@ -169,6 +169,16 @@ public: /// Creates a new Objective-C method symbol. ObjCMethod *newObjCMethod(unsigned sourceLocation, Name *name = 0); + // Objective-C specific context keywords. + Identifier *objcGetterId() const; + Identifier *objcSetterId() const; + Identifier *objcReadwriteId() const; + Identifier *objcReadonlyId() const; + Identifier *objcAssignId() const; + Identifier *objcRetainId() const; + Identifier *objcCopyId() const; + Identifier *objcNonatomicId() const; + Identifier *findIdentifier(const char *chars, unsigned size) const; Identifier *findOrInsertIdentifier(const char *chars, unsigned size); |