diff options
author | Chris Lattner <sabre@nondot.org> | 2009-03-28 06:33:19 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-03-28 06:33:19 +0000 |
commit | 529efc74ad9c3935d1879615146c1a42413cbdcb (patch) | |
tree | fca614cea9c471273ed2d47e58f144e1dade271b /clang/lib/CodeGen/CGObjC.cpp | |
parent | 23b88b73e1982404b75a5175dccab22eb6a3a29a (diff) | |
download | bcm5719-llvm-529efc74ad9c3935d1879615146c1a42413cbdcb.tar.gz bcm5719-llvm-529efc74ad9c3935d1879615146c1a42413cbdcb.zip |
rename some methods.
llvm-svn: 67923
Diffstat (limited to 'clang/lib/CodeGen/CGObjC.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGObjC.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGObjC.cpp b/clang/lib/CodeGen/CGObjC.cpp index de63f51b330..2467a8290aa 100644 --- a/clang/lib/CodeGen/CGObjC.cpp +++ b/clang/lib/CodeGen/CGObjC.cpp @@ -436,7 +436,7 @@ void CodeGenFunction::EmitObjCForCollectionStmt(const ObjCForCollectionStmt &S){ if (const DeclStmt *SD = dyn_cast<DeclStmt>(S.getElement())) { EmitStmt(SD); assert(HaveInsertPoint() && "DeclStmt destroyed insert point!"); - const Decl* D = SD->getSolitaryDecl(); + const Decl* D = SD->getSingleDecl(); ElementTy = cast<ValueDecl>(D)->getType(); DeclAddress = LocalDeclMap[D]; } else { |