[cfe-commits] r43825 - in /cfe/trunk/include/clang: AST/DeclObjC.h Parse/DeclSpec.h
Fariborz Jahanian
fjahanian at apple.com
Wed Nov 7 09:29:15 PST 2007
Author: fjahanian
Date: Wed Nov 7 11:29:15 2007
New Revision: 43825
URL: http://llvm.org/viewvc/llvm-project?rev=43825&view=rev
Log:
Fixed typo.
Modified:
cfe/trunk/include/clang/AST/DeclObjC.h
cfe/trunk/include/clang/Parse/DeclSpec.h
Modified: cfe/trunk/include/clang/AST/DeclObjC.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/DeclObjC.h?rev=43825&r1=43824&r2=43825&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/DeclObjC.h (original)
+++ cfe/trunk/include/clang/AST/DeclObjC.h Wed Nov 7 11:29:15 2007
@@ -688,7 +688,7 @@
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 @@
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 @@
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; }
Modified: cfe/trunk/include/clang/Parse/DeclSpec.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Parse/DeclSpec.h?rev=43825&r1=43824&r2=43825&view=diff
==============================================================================
--- cfe/trunk/include/clang/Parse/DeclSpec.h (original)
+++ cfe/trunk/include/clang/Parse/DeclSpec.h Wed Nov 7 11:29:15 2007
@@ -292,8 +292,8 @@
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 @@
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 @@
// (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
};
More information about the cfe-commits
mailing list