Debug Info: Use identifier to reference DIType in containing type field of
[oota-llvm.git] / include / llvm / DebugInfo.h
index 42ec18899f175a86d905e3aa5d6067d70bbca80b..a3a231ba8092dd8ee8e85946e6b08bcc1913b440 100644 (file)
@@ -426,8 +426,8 @@ namespace llvm {
     unsigned getVirtuality() const { return getUnsignedField(10); }
     unsigned getVirtualIndex() const { return getUnsignedField(11); }
 
-    DICompositeType getContainingType() const {
-      return getFieldAs<DICompositeType>(12);
+    DITypeRef getContainingType() const {
+      return getFieldAs<DITypeRef>(12);
     }
 
     unsigned getFlags() const {