[PATCH] D63718: [ADT] Implement llvm::bsearch() with std::partition_point()

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 24 07:58:01 PDT 2019


MaskRay created this revision.
MaskRay added reviewers: EricWF, sammccall.
Herald added subscribers: llvm-commits, cfe-commits, kadircet, arphaman, dexonsmith, jkorous.
Herald added projects: clang, LLVM.

Deprecate the begin-end form because the standard std::partition_point
can be easily used as a replacement.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D63718

Files:
  clang-tools-extra/clangd/index/dex/PostingList.cpp
  llvm/include/llvm/ADT/STLExtras.h
  llvm/include/llvm/CodeGen/SlotIndexes.h
  llvm/unittests/ADT/STLExtrasTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63718.206217.patch
Type: text/x-patch
Size: 4630 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190624/a370c29d/attachment.bin>


More information about the cfe-commits mailing list