llvm-mirror/unittests
Chandler Carruth 09d76cf26d Add support for hashing pairs by delegating to each sub-object. There is
an open question of whether we can do better than this by treating pairs
as boring data containers and directly hashing the two subobjects. This
at least makes the API reasonable.

In order to make this change, I reorganized the header a bit. I lifted
the declarations of the hash_value functions up to the top of the header
with their doxygen comments as these are intended for users to interact
with. They shouldn't have to wade through implementation details. I then
defined them at the very end so that they could be defined in terms of
hash_combine or any other hashing infrastructure.

Added various pair-hashing unittests.

llvm-svn: 151882
2012-03-02 08:32:29 +00:00
..
ADT Add support for hashing pairs by delegating to each sub-object. There is 2012-03-02 08:32:29 +00:00
Analysis
Bitcode Bitcode: Don't expose WriteBitcodeToStream to clients. 2012-02-29 20:30:56 +00:00
ExecutionEngine MCJIT support for non-function sections. 2012-01-16 22:26:39 +00:00
Support BumpPtrAllocator: Make sure threshold cannot be initialized with a value smaller than the slab size. 2012-03-01 22:10:16 +00:00
Transforms Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:50:00 +00:00
VMCore Undo the hack in r147427 and move this unittest to a better home. This 2012-01-02 09:19:48 +00:00
CMakeLists.txt Add a Briggs and Torczon sparse set implementation. 2012-02-22 00:56:08 +00:00
Makefile Undo the hack in r147427 and move this unittest to a better home. This 2012-01-02 09:19:48 +00:00
Makefile.unittest build/unittests: Fix llvm-config names for gtest libraries, and bring Makefile 2011-12-15 23:35:08 +00:00