Renaming the recently-created (r203830) props() range API to properties() for clarity.

llvm-svn: 203835
This commit is contained in:
Aaron Ballman
2014-03-13 19:11:50 +00:00
parent e649335b1e
commit d174edffa0
13 changed files with 33 additions and 33 deletions

View File

@@ -3458,7 +3458,7 @@ static void AddObjCProperties(ObjCContainerDecl *Container,
Container = getContainerDef(Container);
// Add properties in this container.
for (const auto *P : Container->props())
for (const auto *P : Container->properties())
if (AddedProperties.insert(P->getIdentifier()))
Results.MaybeAddResult(Result(P, Results.getBasePriority(P), 0),
CurContext);
@@ -6972,7 +6972,7 @@ void Sema::CodeCompleteObjCMethodDecl(Scope *S,
}
for (unsigned I = 0, N = Containers.size(); I != N; ++I)
for (auto *P : Containers[I]->props())
for (auto *P : Containers[I]->properties())
AddObjCKeyValueCompletions(P, IsInstanceMethod, ReturnType, Context,
KnownSelectors, Results);
}