[clangd] NFC: Improve Dex Iterators debugging traits
authorKirill Bobyrev <kbobyrev.opensource@gmail.com>
Thu, 16 Aug 2018 13:19:43 +0000 (13:19 +0000)
committerKirill Bobyrev <kbobyrev.opensource@gmail.com>
Thu, 16 Aug 2018 13:19:43 +0000 (13:19 +0000)
commit51534ab864f7581d8972e87ba0211a0f9dbe46ed
treedb1fae18d9f53013827d68438d91ddd9b0e07788
parentff22b43c7de8bcc5e0072fbe7c0dd340a397111a
[clangd] NFC: Improve Dex Iterators debugging traits

This patch improves `dex::Iterator` string representation by
incorporating the information about the element which is currently being
pointed to by the `DocumentIterator`.

Reviewed by: ioeric

Differential Revision: https://reviews.llvm.org/D50689

llvm-svn: 339877
clang-tools-extra/clangd/index/dex/Iterator.cpp
clang-tools-extra/clangd/index/dex/Iterator.h
clang-tools-extra/unittests/clangd/DexIndexTests.cpp