mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-20 10:38:46 +00:00
09d76cf26d
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 |
||
---|---|---|
.. | ||
ADT | ||
Analysis | ||
Bitcode | ||
ExecutionEngine | ||
Support | ||
Transforms | ||
VMCore | ||
CMakeLists.txt | ||
Makefile | ||
Makefile.unittest |