[PATCH] D146061: [ADT] Make llvm::is_contained call member `contains` when available

Jakub Kuderski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 14 15:30:00 PDT 2023


kuhar updated this revision to Diff 505300.
kuhar added a comment.

Delegate to .find when .contains is not available. Improve function documentation.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D146061/new/

https://reviews.llvm.org/D146061

Files:
  llvm/include/llvm/ADT/STLExtras.h
  llvm/include/llvm/Analysis/LoopInfoImpl.h
  llvm/unittests/ADT/STLExtrasTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D146061.505300.patch
Type: text/x-patch
Size: 4182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230314/6dd0c3c5/attachment.bin>


More information about the llvm-commits mailing list