Mark MDNode::getOperand as readonly.
[oota-llvm.git] / include / llvm / DebugInfo.h
index dd03bf70d2c9aad2ac6c6aa8fbeeb14454f611c1..372d367b7075ec87f41edd1def186201d898ee64 100644 (file)
@@ -695,6 +695,9 @@ namespace llvm {
   /// getDISubprogram - Find subprogram that is enclosing this scope.
   DISubprogram getDISubprogram(const MDNode *Scope);
 
+  /// getDICompositeType - Find underlying composite type.
+  DICompositeType getDICompositeType(DIType T);
+
   /// isSubprogramContext - Return true if Context is either a subprogram
   /// or another context nested inside a subprogram.
   bool isSubprogramContext(const MDNode *Context);