[llvm-commits] [PATCH] Fix isPodLike usage in DenseMap

Lubos Lunak l.lunak at suse.cz
Sat Mar 31 15:04:03 PDT 2012


 Hello,

 while trying to submit a patch for Clang I noticed that DenseMap uses 
isPodLike<> incorrectly, as a result of change in r91421. DenseMap cares 
about whether the key and value are POD-like, not the DenseMapInfo 
structures. This fix also makes the ValueInfoT template argument superflous. 
See the attached patch.

-- 
 Lubos Lunak
 l.lunak at suse.cz
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-ispodlike-usage.patch
Type: text/x-diff
Size: 7527 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120401/ff95d326/attachment.patch>


More information about the llvm-commits mailing list