- Fixed a bug in hasNItems()
- Extend STLExtras unit test to add testing for hasSingleElement() and hasNItems() and friends.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/ADT/STLExtras.h | ||
---|---|---|
1966 | Sure, I can split the MLIR adoption of this into its own change. |
llvm/include/llvm/ADT/STLExtras.h | ||
---|---|---|
1966 | I meant that hasNItems and the MLIR change can go in together, but the addition of the others hasNItemsOrLess and hasNItemsOrMore don't seem related here. |
llvm/include/llvm/ADT/STLExtras.h | ||
---|---|---|
1966 | I have split the MLIR change and added unit tests for these functions (and fixed a bug in hasNItems) |
Nit: period.