diff options
author | Steve Naroff <snaroff@apple.com> | 2009-01-10 22:55:25 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2009-01-10 22:55:25 +0000 |
commit | 489034cf8bde09360e0089f401b2929597b125d8 (patch) | |
tree | e72a8a6eeabf40f0686dc4fa6aa7dbea63287d0c /lib/CodeGen/CGObjC.cpp | |
parent | 679a502d462ef819e6175b58e255ca3f3391e7cf (diff) |
Fix a misleading comment.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62031 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | lib/CodeGen/CGObjC.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/CGObjC.cpp b/lib/CodeGen/CGObjC.cpp index ef7b142e3c..a285d7533a 100644 --- a/lib/CodeGen/CGObjC.cpp +++ b/lib/CodeGen/CGObjC.cpp @@ -136,8 +136,8 @@ void CodeGenFunction::GenerateObjCMethod(const ObjCMethodDecl *OMD) { // having a GenerateFunction which takes the body Stmt. /// GenerateObjCGetter - Generate an Objective-C property getter -/// function. The given Decl must be either an ObjCCategoryImplDecl -/// or an ObjCImplementationDecl. +/// function. The given Decl must be an ObjCImplementationDecl. @synthesize +/// is illegal within a category. void CodeGenFunction::GenerateObjCGetter(ObjCImplementationDecl *IMP, const ObjCPropertyImplDecl *PID) { ObjCIvarDecl *Ivar = PID->getPropertyIvarDecl(); @@ -206,8 +206,8 @@ void CodeGenFunction::GenerateObjCGetter(ObjCImplementationDecl *IMP, } /// GenerateObjCSetter - Generate an Objective-C property setter -/// function. The given Decl must be either an ObjCCategoryImplDecl -/// or an ObjCImplementationDecl. +/// function. The given Decl must be an ObjCImplementationDecl. @synthesize +/// is illegal within a category. void CodeGenFunction::GenerateObjCSetter(ObjCImplementationDecl *IMP, const ObjCPropertyImplDecl *PID) { ObjCIvarDecl *Ivar = PID->getPropertyIvarDecl(); |