Skip to content
  1. Feb 16, 2010
  2. Feb 11, 2010
  3. Feb 03, 2010
  4. Feb 01, 2010
  5. Jan 30, 2010
  6. Jan 29, 2010
  7. Jan 25, 2010
  8. Jan 17, 2010
  9. Jan 05, 2010
  10. Dec 28, 2009
  11. Dec 22, 2009
  12. Dec 18, 2009
  13. Dec 15, 2009
  14. Dec 10, 2009
  15. Dec 09, 2009
  16. Dec 06, 2009
  17. Dec 03, 2009
  18. Dec 02, 2009
  19. Nov 28, 2009
  20. Nov 27, 2009
  21. Nov 14, 2009
  22. Nov 10, 2009
    • Jeffrey Yasskin's avatar
      Fix DenseMap iterator constness. · b40d3f76
      Jeffrey Yasskin authored
      This patch forbids implicit conversion of DenseMap::const_iterator to
      DenseMap::iterator which was possible because DenseMapIterator inherited
      (publicly) from DenseMapConstIterator. Conversion the other way around is now
      allowed as one may expect.
      
      The template DenseMapConstIterator is removed and the template parameter
      IsConst which specifies whether the iterator is constant is added to
      DenseMapIterator.
      
      Actually IsConst parameter is not necessary since the constness can be
      determined from KeyT but this is not relevant to the fix and can be addressed
      later.
      
      Patch by Victor Zverovich!
      
      llvm-svn: 86636
      b40d3f76
Loading