From 4826c8fbe8957019eecfd29289eef51b148da89d Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Mon, 20 Feb 2012 18:04:39 +0000 Subject: [PATCH] Make this a bit prettier and more obvious when a derived type isn't derived from anything. llvm-svn: 150975 --- llvm/lib/Analysis/DebugInfo.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp index c655c4eabdb9..585a087a02ac 100644 --- a/llvm/lib/Analysis/DebugInfo.cpp +++ b/llvm/lib/Analysis/DebugInfo.cpp @@ -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.