[llvm-commits] [llvm] r136481 - in /llvm/trunk: include/llvm/ADT/StringExtras.h utils/TableGen/Record.cpp
David A. Greene
greened at obbligato.org
Fri Jul 29 14:22:56 PDT 2011
Chris Lattner <clattner at apple.com> writes:
>> This isn't a DenseMap<string, x>. It's a
>> DenseMap<StructTypeThatIncludesAString, x>.
>
> In that case, why do you need densemap traits for the string?
Because the struct type is actually a std::pair and the DenseMapInfo
for std::pair relies on DenseMapInfo of its members.
-Dave
More information about the llvm-commits
mailing list