[PATCH] D82232: Add hasNItemsOrLess and container variants of hasNItems and friends

Rahul Joshi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 19 18:28:16 PDT 2020


jurahul added inline comments.


================
Comment at: llvm/include/llvm/ADT/STLExtras.h:1963
+  return hasNItems(std::begin(C), std::end(C), N);
+}
+
----------------
mehdi_amini wrote:
> Seems like two patches here, this added function to STLExtras seems to be the only thing relevant for the MLIR part. Can you split this?
Sure, I can split the MLIR adoption of this into its own change.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D82232





More information about the llvm-commits mailing list