IR: Print a newline when dumping Types
authorJustin Bogner <mail@justinbogner.com>
Tue, 12 Aug 2014 03:24:59 +0000 (03:24 +0000)
committerJustin Bogner <mail@justinbogner.com>
Tue, 12 Aug 2014 03:24:59 +0000 (03:24 +0000)
commit2925be515b30aa8a69d156849aaf5896c5cbcc9a
tree2b3ade9a47119a37715947a611d8478ccda58173
parent601bf96887c0f7ec4fbd9a8d9a4e03f8e434ec0c
IR: Print a newline when dumping Types

Type::dump() doesn't print a newline, which makes for a poor
experience in a debugger. This looks like it was an ommission
considering Value::dump() two lines above, so I've changed Type to add
a newline as well.

Of the two in-tree callers, one added a newline anyway, and I've
updated the other one to use Type::print instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215421 91177308-0d34-0410-b5e6-96231b3b80d8
lib/IR/AsmWriter.cpp
lib/Linker/LinkModules.cpp
lib/Target/ARM/ARMISelLowering.cpp