StringRef: add DenseMapInfo for StringRef.
authorManman Ren <mren@apple.com>
Mon, 8 Jul 2013 19:17:48 +0000 (19:17 +0000)
committerManman Ren <mren@apple.com>
Mon, 8 Jul 2013 19:17:48 +0000 (19:17 +0000)
commitf856249d496663b72b9eac37cdabb52932abd0e0
tree5b23d39dc44fb65ca8f2dfd875b8856f2d66f3ba
parent7426a3b5880b68989e49f963229b7731cb36dba7
StringRef: add DenseMapInfo for StringRef.

Remove the implementation in include/llvm/Support/YAMLTraits.h.
Added a DenseMap type DITypeHashMap in DebugInfo.h:
  DenseMap<std::pair<StringRef, unsigned>, MDNode*>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185852 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/StringRef.h
include/llvm/DebugInfo.h
include/llvm/Support/YAMLTraits.h
lib/Support/StringRef.cpp