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
This commit is contained in:
Eric Christopher 2012-02-20 18:04:39 +00:00
parent dc1eeb89f2
commit 1c7f744bbb

View 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.