diff options
| -rw-r--r-- | lldb/source/Symbol/ClangASTContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Symbol/ClangASTContext.cpp b/lldb/source/Symbol/ClangASTContext.cpp index 5929ebb45c8..efd8de72d5d 100644 --- a/lldb/source/Symbol/ClangASTContext.cpp +++ b/lldb/source/Symbol/ClangASTContext.cpp @@ -4771,7 +4771,7 @@ ClangASTContext::GetIndexOfChildWithName ObjCInterfaceDecl::ivar_iterator ivar_pos, ivar_end = class_interface_decl->ivar_end(); ObjCInterfaceDecl *superclass_interface_decl = class_interface_decl->getSuperClass(); - for (ivar_pos = class_interface_decl->ivar_begin(); ivar_pos != ivar_end; ++ivar_pos) + for (ivar_pos = class_interface_decl->ivar_begin(); ivar_pos != ivar_end; ++ivar_pos, ++child_idx) { const ObjCIvarDecl* ivar_decl = *ivar_pos; |

