class ObjcPropertyDecl : public Decl {
public:
- enum PrpoertyAttributeKind { OBJC_PR_noattr = 0x0,
+ enum PropertyAttributeKind { OBJC_PR_noattr = 0x0,
OBJC_PR_readonly = 0x01,
OBJC_PR_getter = 0x02,
OBJC_PR_assign = 0x04,
ObjcIvarDecl **PropertyDecls;
int NumPropertyDecls;
- PrpoertyAttributeKind PropertyAttributes : 8;
+ PropertyAttributeKind PropertyAttributes : 8;
IdentifierInfo *GetterName; // getter name of NULL if no getter
IdentifierInfo *SetterName; // setter name of NULL if no setter
const int getNumPropertyDecls() const { return NumPropertyDecls; }
void setNumPropertyDecls(int num) { NumPropertyDecls = num; }
- const PrpoertyAttributeKind getPropertyAttributes() const
+ const PropertyAttributeKind getPropertyAttributes() const
{ return PropertyAttributes; }
- void setPropertyAttributes(PrpoertyAttributeKind PRVal) {
+ void setPropertyAttributes(PropertyAttributeKind PRVal) {
PropertyAttributes =
- (PrpoertyAttributeKind) (PropertyAttributes | PRVal);
+ (PropertyAttributeKind) (PropertyAttributes | PRVal);
}
const IdentifierInfo *getGetterName() const { return GetterName; }
DQ_Oneway = 0x20
};
- /// PrpoertyAttributeKind - list of property attributes.
- enum ObjcPrpoertyAttributeKind { DQ_PR_noattr = 0x0,
+ /// PropertyAttributeKind - list of property attributes.
+ enum ObjcPropertyAttributeKind { DQ_PR_noattr = 0x0,
DQ_PR_readonly = 0x01,
DQ_PR_getter = 0x02,
DQ_PR_assign = 0x04,
void setObjcDeclQualifier(ObjcDeclQualifier DQVal)
{ objcDeclQualifier = (ObjcDeclQualifier) (objcDeclQualifier | DQVal); }
- const ObjcPrpoertyAttributeKind getPropertyAttributes() const
+ const ObjcPropertyAttributeKind getPropertyAttributes() const
{ return PropertyAttributes; }
- void setPropertyAttributes(ObjcPrpoertyAttributeKind PRVal) {
+ void setPropertyAttributes(ObjcPropertyAttributeKind PRVal) {
PropertyAttributes =
- (ObjcPrpoertyAttributeKind) (PropertyAttributes | PRVal);
+ (ObjcPropertyAttributeKind) (PropertyAttributes | PRVal);
}
const IdentifierInfo *getGetterName() const { return GetterName; }
// (space saving is negligible).
ObjcDeclQualifier objcDeclQualifier : 6;
- ObjcPrpoertyAttributeKind PropertyAttributes : 8;
+ ObjcPropertyAttributeKind PropertyAttributes : 8;
IdentifierInfo *GetterName; // getter name of NULL if no getter
IdentifierInfo *SetterName; // setter name of NULL if no setter
};