[Lldb-commits] [PATCH] D11488: Fix bug in expression display when determining if a pointer should be treated as a string

Ilia K ki.stfu at gmail.com
Fri Jul 24 11:46:00 PDT 2015


ki.stfu added a comment.

It looks strangely for me. If structure has the first element of type char then GetChildAtIndex(0) will refer to this element and GetType().GetBasicType() will be char. But if we have a pointer to that structure then I suppose GetChildAtIndex(0) will not be equal to the first element of structure. From my point of view, it should relate to  this structure entirely, but not to its first element.


http://reviews.llvm.org/D11488







More information about the lldb-commits mailing list