- 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 | ||
---|---|---|
1963 | Sure, I can split the MLIR adoption of this into its own change. |
llvm/include/llvm/ADT/STLExtras.h | ||
---|---|---|
1963 | 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 | ||
---|---|---|
1963 | I have split the MLIR change and added unit tests for these functions (and fixed a bug in hasNItems) |
clang-tidy: warning: invalid case style for variable 'it' [readability-identifier-naming]
not useful
clang-tidy: warning: invalid case style for variable 'e' [readability-identifier-naming]
not useful