summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DebugInfo.cpp
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2012-02-20 18:04:39 +0000
committerEric Christopher <echristo@apple.com>2012-02-20 18:04:39 +0000
commit4826c8fbe8957019eecfd29289eef51b148da89d (patch)
tree0e1efdf7c1afaaa4a3a2b7b20d598f5259fb272a /llvm/lib/Analysis/DebugInfo.cpp
parent300871076e8a492eb9df201adccffbbe3da71f95 (diff)
downloadbcm5719-llvm-4826c8fbe8957019eecfd29289eef51b148da89d.tar.gz
bcm5719-llvm-4826c8fbe8957019eecfd29289eef51b148da89d.zip
Make this a bit prettier and more obvious when a derived type isn't
derived from anything. llvm-svn: 150975
Diffstat (limited to 'llvm/lib/Analysis/DebugInfo.cpp')
-rw-r--r--llvm/lib/Analysis/DebugInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DebugInfo.cpp b/llvm/lib/Analysis/DebugInfo.cpp
index c655c4eabdb..585a087a02a 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.
OpenPOWER on IntegriCloud