diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2007-11-07 17:29:15 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2007-11-07 17:29:15 +0000 |
commit | 564576b225386cbff375351597dd5e2a92872d38 (patch) | |
tree | 77f7de4dc46b0a7bc929afabe2e05cea3524abc9 | |
parent | 7338a8299ec393eaf6bb580b5ef9ab2b08b5bd11 (diff) |
Fixed typo.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43825 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/AST/DeclObjC.h | 10 | ||||
-rw-r--r-- | include/clang/Parse/DeclSpec.h | 12 |
2 files changed, 11 insertions, 11 deletions
diff --git a/include/clang/AST/DeclObjC.h b/include/clang/AST/DeclObjC.h index 2a9c40df8d..4206d08aa0 100644 --- a/include/clang/AST/DeclObjC.h +++ b/include/clang/AST/DeclObjC.h @@ -688,7 +688,7 @@ public: 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, @@ -703,7 +703,7 @@ private: 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 @@ -720,11 +720,11 @@ public: 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; } diff --git a/include/clang/Parse/DeclSpec.h b/include/clang/Parse/DeclSpec.h index d8189c414d..75381dff31 100644 --- a/include/clang/Parse/DeclSpec.h +++ b/include/clang/Parse/DeclSpec.h @@ -292,8 +292,8 @@ public: 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, @@ -311,11 +311,11 @@ public: 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; } @@ -331,7 +331,7 @@ private: // (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 }; |