diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2014-03-13 19:11:50 +0000 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2014-03-13 19:11:50 +0000 |
commit | d174edffa06a8212b784dbecdb4939ff300793a7 (patch) | |
tree | 86ebe15dc122b233ec564428a4b6a6d3a5fb23c4 /clang/lib/Sema/SemaCodeComplete.cpp | |
parent | e649335b1ec3bde940fb69a4244ed8ba38059b8d (diff) | |
download | bcm5719-llvm-d174edffa06a8212b784dbecdb4939ff300793a7.tar.gz bcm5719-llvm-d174edffa06a8212b784dbecdb4939ff300793a7.zip |
Renaming the recently-created (r203830) props() range API to properties() for clarity.
llvm-svn: 203835
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
-rw-r--r-- | clang/lib/Sema/SemaCodeComplete.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/lib/Sema/SemaCodeComplete.cpp b/clang/lib/Sema/SemaCodeComplete.cpp index b9a96478d08..a4bac8dc66c 100644 --- a/clang/lib/Sema/SemaCodeComplete.cpp +++ b/clang/lib/Sema/SemaCodeComplete.cpp @@ -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); } |