hanchenye-llvm-project/llvm/utils/unittest
Chandler Carruth 1b31646465 [gmock] Teach gmock ElementsAre and BeginEndDistanceIs matchers to
handle generic ranges by using std::begin and std::end rather than
requiring things to look exactly like an STL container.

Much of the credit for this goes to Dave Blaikie who helped me figure
out the right incantations.

This will probably be re-designed when I send this to the maintainers of
gmock, so I've instead structured it to change is little as possible
while it is a local patch. That makes it somewhat ugly, but I think a focused
change is better for getting this to work for LLVM today and letting the
upstream maintainers figure out the correct long-term pattern.

Differential Revision: https://reviews.llvm.org/D28288

llvm-svn: 291623
2017-01-11 00:16:03 +00:00
..
UnitTestMain Add the 'googlemock' component of Google Test to LLVM's unittest libraries. 2017-01-10 22:32:26 +00:00
googlemock [gmock] Teach gmock ElementsAre and BeginEndDistanceIs matchers to 2017-01-11 00:16:03 +00:00
googletest [gtest] Work around broken installs of libc++ where we don't have 2017-01-05 01:41:49 +00:00
CMakeLists.txt Add the 'googlemock' component of Google Test to LLVM's unittest libraries. 2017-01-10 22:32:26 +00:00
LLVMBuild.txt