diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2009-08-20 17:02:02 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2009-08-20 17:02:02 +0000 |
commit | 9a84665921c379f98fc76d3fde6642e07a954efc (patch) | |
tree | ef766aadfe9c3ac9ecd161700315ccbb97d9f10e /clang/lib/CodeGen/CGObjC.cpp | |
parent | 5851edb13e79cc5efae546ae067b9941d905b66f (diff) | |
download | bcm5719-llvm-9a84665921c379f98fc76d3fde6642e07a954efc.tar.gz bcm5719-llvm-9a84665921c379f98fc76d3fde6642e07a954efc.zip |
Using "ObjCImplicitSetterGetterRefExpr" instead of "ObjCImplctSetterGetterRefExpr".
A field rename and more comments.
llvm-svn: 79537
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-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 82bac9ac574..1c1b303e082 100644 --- a/clang/lib/CodeGen/CGObjC.cpp +++ b/clang/lib/CodeGen/CGObjC.cpp @@ -337,8 +337,8 @@ RValue CodeGenFunction::EmitObjCPropertyGet(const Expr *Exp) { EmitScalarExpr(E->getBase()), false, CallArgList()); } else { - const ObjCImplctSetterGetterRefExpr *KE = - cast<ObjCImplctSetterGetterRefExpr>(Exp); + const ObjCImplicitSetterGetterRefExpr *KE = + cast<ObjCImplicitSetterGetterRefExpr>(Exp); Selector S = KE->getGetterMethod()->getSelector(); llvm::Value *Receiver; if (KE->getInterfaceDecl()) { @@ -389,8 +389,8 @@ void CodeGenFunction::EmitObjCPropertySet(const Expr *Exp, CGM.getObjCRuntime().GenerateMessageSend(*this, getContext().VoidTy, S, EmitScalarExpr(E->getBase()), false, Args); - } else if (const ObjCImplctSetterGetterRefExpr *E = - dyn_cast<ObjCImplctSetterGetterRefExpr>(Exp)) { + } else if (const ObjCImplicitSetterGetterRefExpr *E = + dyn_cast<ObjCImplicitSetterGetterRefExpr>(Exp)) { Selector S = E->getSetterMethod()->getSelector(); CallArgList Args; llvm::Value *Receiver; |