[all-commits] [llvm/llvm-project] 0d9726: - Add hasNItemsOrLess and container variants of ha...
Rahul Joshi via All-commits
all-commits at lists.llvm.org
Mon Jun 22 15:08:23 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 0d9726bc3dba2ce7e554bf3140e33b5781639a1f
https://github.com/llvm/llvm-project/commit/0d9726bc3dba2ce7e554bf3140e33b5781639a1f
Author: Rahul Joshi <jurahul at google.com>
Date: 2020-06-22 (Mon, 22 Jun 2020)
Changed paths:
M llvm/include/llvm/ADT/STLExtras.h
M llvm/unittests/ADT/STLExtrasTest.cpp
Log Message:
-----------
- Add hasNItemsOrLess and container variants of hasNItems, hasNItemsOrMore, and hasNItemsOrLess
- Fixed a bug in hasNItems()
- Extend the STLExtras unit test to test hasSingleElement() and hasNItems() and friends.
Differential Revision: https://reviews.llvm.org/D82232
More information about the All-commits
mailing list