From 5f27da1df1ef800bc0f7a8831112fbddf6d411b6 Mon Sep 17 00:00:00 2001 From: Kirill Bobyrev Date: Wed, 26 Sep 2018 14:59:49 +0000 Subject: [docs] Update PostingList string representation format Because `PostingList` objects are compressed, it is now impossible to see elements other than the current one and the documentation doesn't match implementation anymore. Reviewed By: ioeric Differential Revision: https://reviews.llvm.org/D52545 --- clang-tools-extra/clangd/index/dex/Iterator.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'clang-tools-extra') diff --git a/clang-tools-extra/clangd/index/dex/Iterator.h b/clang-tools-extra/clangd/index/dex/Iterator.h index 5e5460f0125..3066a8c7846 100644 --- a/clang-tools-extra/clangd/index/dex/Iterator.h +++ b/clang-tools-extra/clangd/index/dex/Iterator.h @@ -94,9 +94,8 @@ public: /// /// Where Type is the iterator type representation: "&" for And, "|" for Or, /// ChildN is N-th iterator child. Raw iterators over PostingList are - /// represented as "[ID1, ID2, ..., {IDN}, ... END]" where IDN is N-th - /// PostingList entry and the element which is pointed to by the PostingList - /// iterator is enclosed in {} braces. + /// represented as "[... CurID ...]" where CurID is the current PostingList + /// entry being inspected. friend llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const Iterator &Iterator) { return Iterator.dump(OS); -- cgit v1.2.3