]> granicus.if.org Git - clang/commitdiff
Fixed typo.
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 7 Nov 2007 17:29:15 +0000 (17:29 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 7 Nov 2007 17:29:15 +0000 (17:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43825 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/AST/DeclObjC.h
include/clang/Parse/DeclSpec.h

index 2a9c40df8d46f3f8de0d601e00d05ea52e26d2bb..4206d08aa0bf8d55cb3e325e871d242252d08d34 100644 (file)
@@ -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; }
index d8189c414d6ef8fd389b08270653ce501073e88b..75381dff31ee6843566b07b4ed8f10ede95ef068 100644 (file)
@@ -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
 };