Make this a bit prettier and more obvious when a derived type isn't
authorEric Christopher <echristo@apple.com>
Mon, 20 Feb 2012 18:04:39 +0000 (18:04 +0000)
committerEric Christopher <echristo@apple.com>
Mon, 20 Feb 2012 18:04:39 +0000 (18:04 +0000)
derived from anything.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150975 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/DebugInfo.cpp

index c655c4eabdb91a799796e8a732e2d082190f4544..585a087a02ac1c007e8e780ed7efdf7faf6d0d0c 100644 (file)
@@ -745,7 +745,9 @@ void DIBasicType::print(raw_ostream &OS) const {
 
 /// print - Print derived type.
 void DIDerivedType::print(raw_ostream &OS) const {
-  OS << "\n\t Derived From: "; getTypeDerivedFrom().print(OS);
+  OS << "\n\t Derived From: ";
+  getTypeDerivedFrom().print(OS);
+  OS << "\n\t";
 }
 
 /// print - Print composite type.