[libcxx] r260012 - Cleanup node-type handling in the unordered containers

Tim Northover via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 8 13:23:03 PST 2016


Hi Eric,

On 6 February 2016 at 16:36, Eric Fiselier via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> Cleanup node-type handling in the unordered containers

This seems to have broken __gnu_cxx::hash_map (used by hash.cpp and
hash2.cpp in the test-suite). A smaller reproducer is:

#include <ext/hash_map>
typedef __gnu_cxx::hash_map<const char*, int, __gnu_cxx::hash<const char*> > HM;
int foo(HM &h) {
  return h["wibble"];
}

I don't suppose you could take a look? Or is that already planned and
what you're talking about with:

> This patch will be followed up shortly with fixes for various unordered_map
> fixes.

Cheers.

Tim.


More information about the cfe-commits mailing list