From d174edffa06a8212b784dbecdb4939ff300793a7 Mon Sep 17 00:00:00 2001 From: Aaron Ballman Date: Thu, 13 Mar 2014 19:11:50 +0000 Subject: Renaming the recently-created (r203830) props() range API to properties() for clarity. llvm-svn: 203835 --- clang/lib/CodeGen/CGObjCMac.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'clang/lib/CodeGen/CGObjCMac.cpp') diff --git a/clang/lib/CodeGen/CGObjCMac.cpp b/clang/lib/CodeGen/CGObjCMac.cpp index 2296f0a30ec..1ee74f90f28 100644 --- a/clang/lib/CodeGen/CGObjCMac.cpp +++ b/clang/lib/CodeGen/CGObjCMac.cpp @@ -2778,7 +2778,7 @@ PushProtocolProperties(llvm::SmallPtrSet &PropertySet, for (ObjCProtocolDecl::protocol_iterator P = Proto->protocol_begin(), E = Proto->protocol_end(); P != E; ++P) PushProtocolProperties(PropertySet, Properties, Container, (*P), ObjCTypes); - for (const auto *PD : Proto->props()) { + for (const auto *PD : Proto->properties()) { if (!PropertySet.insert(PD->getIdentifier())) continue; llvm::Constant *Prop[] = { @@ -2807,7 +2807,7 @@ llvm::Constant *CGObjCCommonMac::EmitPropertyList(Twine Name, const ObjCCommonTypesHelper &ObjCTypes) { SmallVector Properties; llvm::SmallPtrSet PropertySet; - for (const auto *PD : OCD->props()) { + for (const auto *PD : OCD->properties()) { PropertySet.insert(PD->getIdentifier()); llvm::Constant *Prop[] = { GetPropertyName(PD->getIdentifier()), -- cgit v1.2.3