Renaming the recently-created (r203830) props() range API to properties() for clarity.
llvm-svn: 203835
diff --git a/clang/lib/Sema/SemaCodeComplete.cpp b/clang/lib/Sema/SemaCodeComplete.cpp
index b9a9647..a4bac8d 100644
--- a/clang/lib/Sema/SemaCodeComplete.cpp
+++ b/clang/lib/Sema/SemaCodeComplete.cpp
@@ -3458,7 +3458,7 @@
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 @@
}
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);
}