From 461076f05287bde5a2817c3426120596e6962f31 Mon Sep 17 00:00:00 2001 From: Reid Spencer Date: Fri, 27 Oct 2006 18:58:54 +0000 Subject: [PATCH] Make the Value and Type methods print a newline so it prints nicely in gdb git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31221 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/VMCore/AsmWriter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/VMCore/AsmWriter.cpp b/lib/VMCore/AsmWriter.cpp index 58ff9716481..25a84f14b5b 100644 --- a/lib/VMCore/AsmWriter.cpp +++ b/lib/VMCore/AsmWriter.cpp @@ -1357,11 +1357,11 @@ void Argument::print(std::ostream &o) const { // Value::dump - allow easy printing of Values from the debugger. // Located here because so much of the needed functionality is here. -void Value::dump() const { print(std::cerr); } +void Value::dump() const { print(std::cerr); std::cerr << '\n'; } // Type::dump - allow easy printing of Values from the debugger. // Located here because so much of the needed functionality is here. -void Type::dump() const { print(std::cerr); } +void Type::dump() const { print(std::cerr); std::cerr << '\n'; } //===----------------------------------------------------------------------===// // CachedWriter Class Implementation