Mark MDNode::getOperand as readonly.
[oota-llvm.git] / include / llvm / DebugInfo.h
index c33a21d729f1d81f7ecb923f975ef7c1c4f509be..372d367b7075ec87f41edd1def186201d898ee64 100644 (file)
@@ -17,7 +17,6 @@
 #ifndef LLVM_DEBUGINFO_H
 #define LLVM_DEBUGINFO_H
 
-#include "llvm/ADT/DenseMap.h"
 #include "llvm/ADT/SmallPtrSet.h"
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/ADT/StringRef.h"
@@ -46,9 +45,6 @@ namespace llvm {
   class DIType;
   class DIObjCProperty;
 
-  /// Map from a pair <unique type name, an unsigned flag> to MDNode.
-  typedef DenseMap<std::pair<StringRef, unsigned>, MDNode*> DITypeHashMap;
-
   /// DIDescriptor - A thin wraper around MDNode to access encoded debug info.
   /// This should not be stored in a container, because the underlying MDNode
   /// may change in certain situations.