[PATCH] D83449: [llvm] Add contains(KeyType) -> bool methods to Set types.

Varun Gandhi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 8 19:32:44 PDT 2020


varungandhi-apple created this revision.
varungandhi-apple added a reviewer: rjmccall.
Herald added subscribers: llvm-commits, dexonsmith.
Herald added a project: LLVM.

Add C++20-esque contains method for sets.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D83449

Files:
  llvm/include/llvm/ADT/DenseSet.h
  llvm/include/llvm/ADT/SetVector.h
  llvm/include/llvm/ADT/SmallPtrSet.h
  llvm/include/llvm/ADT/SmallSet.h
  llvm/include/llvm/ADT/SparseSet.h
  llvm/include/llvm/ADT/StringSet.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83449.276623.patch
Type: text/x-patch
Size: 3276 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200709/d88ed86c/attachment.bin>


More information about the llvm-commits mailing list