projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
45bb885
)
ClangASTContext::GetIndexOfChildWithName - increment the child index we plan to retur...
author
Jim Ingham
<jingham@apple.com>
Thu, 4 Oct 2012 22:22:16 +0000
(22:22 +0000)
committer
Jim Ingham
<jingham@apple.com>
Thu, 4 Oct 2012 22:22:16 +0000
(22:22 +0000)
<rdar://problem/
12433299
>
llvm-svn: 165264
lldb/source/Symbol/ClangASTContext.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Symbol/ClangASTContext.cpp
b/lldb/source/Symbol/ClangASTContext.cpp
index
5929ebb
..
efd8de7
100644
(file)
--- 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;