aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
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
commit1c7f744bbbada1f4bab725c393cfe9ac30e87ffc (patch)
tree960f6af5ab5ee5adb164362c6af4cd1f21dc7112 /lib/Analysis
parentdc1eeb89f2a95d3918545976e8db778e3e109962 (diff)
downloadexternal_llvm-1c7f744bbbada1f4bab725c393cfe9ac30e87ffc.zip
external_llvm-1c7f744bbbada1f4bab725c393cfe9ac30e87ffc.tar.gz
external_llvm-1c7f744bbbada1f4bab725c393cfe9ac30e87ffc.tar.bz2
Make this a bit prettier and more obvious when a derived type isn't
derived from anything. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150975 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/DebugInfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Analysis/DebugInfo.cpp b/lib/Analysis/DebugInfo.cpp
index c655c4e..585a087 100644
--- a/lib/Analysis/DebugInfo.cpp
+++ b/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.