stl_bvector.h are correctly included into *anything* that includes hash_map
or hash_set. ext/hash_map includes stl_vector.h directly and leaves
out the specializations, causing truly nasty bugs due to inconsistent
versions of vector<> being used for vector<bool> in different files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7303
91177308-0d34-0410-b5e6-
96231b3b80d8
using HASH_NAMESPACE::hash_multimap;
using HASH_NAMESPACE::hash;
+/* Include vector because ext/hash_map includes stl_vector.h and leaves
+ out specializations like stl_bvector.h, causing link conflicts. */
+#include <vector>
+
#include <Support/HashExtras.h>
#endif
using HASH_NAMESPACE::hash_set;
using HASH_NAMESPACE::hash;
+/* Include vector because ext/hash_set includes stl_vector.h and leaves
+ out specializations like stl_bvector.h, causing link conflicts. */
+#include <vector>
+
#include <Support/HashExtras.h>
#endif