Changed ObjC context keyword comparison to use identifiers.

This commit is contained in:
Erik Verbruggen
2009-10-20 12:47:54 +02:00
parent c5cf70c6b8
commit 56f755efe8
3 changed files with 61 additions and 10 deletions

View File

@@ -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);