[C++11] Replacing ObjCCategoryDecl iterators propimpl_begin() and propimpl_end() with iterator_range property_impls(). Updating all of the usages of the iterators with range-based for loops.

llvm-svn: 203930
diff --git a/clang/lib/Analysis/BodyFarm.cpp b/clang/lib/Analysis/BodyFarm.cpp
index c857a0e..039911e 100644
--- a/clang/lib/Analysis/BodyFarm.cpp
+++ b/clang/lib/Analysis/BodyFarm.cpp
@@ -404,10 +404,7 @@
   const ObjCImplementationDecl *ImplDecl =
     IVar->getContainingInterface()->getImplementation();
   if (ImplDecl) {
-    typedef ObjCImplementationDecl::propimpl_iterator propimpl_iterator;
-    for (propimpl_iterator I = ImplDecl->propimpl_begin(),
-                           E = ImplDecl->propimpl_end();
-         I != E; ++I) {
+    for (const auto *I : ImplDecl->property_impls()) {
       if (I->getPropertyDecl() != Prop)
         continue;