Make the Value and Type methods print a newline so it prints nicely in gdb

llvm-svn: 31221
This commit is contained in:
Reid Spencer 2006-10-27 18:58:54 +00:00
parent bf3df77758
commit 115511f2e2
1 changed files with 2 additions and 2 deletions

View File

@ -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