Rename: FindContext -> FindDeclVisibleInContext.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@60574 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Sema/IdentifierResolver.cpp b/lib/Sema/IdentifierResolver.cpp
index cf0342f..5fb18f6 100644
--- a/lib/Sema/IdentifierResolver.cpp
+++ b/lib/Sema/IdentifierResolver.cpp
@@ -90,7 +90,8 @@
 /// in the given context or in a parent of it. The search is in reverse
 /// order, from end to begin.
 IdentifierResolver::IdDeclInfo::DeclsTy::iterator
-IdentifierResolver::IdDeclInfo::FindContext(const LookupContext &Ctx,
+IdentifierResolver::IdDeclInfo::FindDeclVisibleInContext(
+                                            const LookupContext &Ctx,
                                             const DeclsTy::iterator &Start) {
   for (DeclsTy::iterator I = Start; I != Decls.begin(); --I) {
     if (Ctx.isEqOrContainedBy(LookupContext(*(I-1))))
@@ -267,7 +268,7 @@
 
   IdDeclInfo::DeclsTy::iterator I;
   if (LookInParentCtx)
-    I = IDI->FindContext(LC);
+    I = IDI->FindDeclVisibleInContext(LC);
   else {
     for (I = IDI->decls_end(); I != IDI->decls_begin(); --I)
       if (LookupContext(*(I-1)) == LC)
@@ -290,7 +291,7 @@
 
   BaseIter I = getIterator();
   if (LookInParentCtx())
-    I = Info->FindContext(Ctx, I);
+    I = Info->FindDeclVisibleInContext(Ctx, I);
   else {
     if (I != Info->decls_begin() && LookupContext(*(I-1)) != Ctx) {
       // The next decl is in different declaration context.