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 | 5a7dd78ba2031048f0759e162afc8fff348721f2 (patch) | |
tree | 5e91ef4bb4bd6731d908c83e485013128b36e92e /clang/lib/CodeGen | |
parent | 0196a1cd2bbf86e63d5965fb4d8ed5a857b5c426 (diff) | |
download | bcm5719-llvm-5a7dd78ba2031048f0759e162afc8fff348721f2.tar.gz bcm5719-llvm-5a7dd78ba2031048f0759e162afc8fff348721f2.zip |
Fix a misleading comment.
llvm-svn: 62031
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/CGObjC.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp index ef7b142e3c3..a285d7533a9 100644 --- a/clang/lib/CodeGen/CGObjC.cpp +++ b/clang/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(); |