[PATCH] D106640: [clangd] Make dex iterator peek() and reachedEnd() nonvirtual

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 23 02:26:06 PDT 2021


sammccall created this revision.
sammccall added a reviewer: kbobyrev.
Herald added subscribers: usaxena95, kadircet, arphaman.
sammccall requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang-tools-extra.

This is not polished but worth checking if it's a speedup
Hopefully correct: passes all tests


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D106640

Files:
  clang-tools-extra/clangd/index/dex/Iterator.cpp
  clang-tools-extra/clangd/index/dex/Iterator.h
  clang-tools-extra/clangd/index/dex/PostingList.cpp
  clang-tools-extra/clangd/unittests/DexTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106640.361136.patch
Type: text/x-patch
Size: 13688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210723/c62027b6/attachment-0001.bin>


More information about the cfe-commits mailing list