mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-06 06:33:24 +00:00
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
This commit is contained in:
parent
6bdb3f6c8f
commit
461076f052
@ -1357,11 +1357,11 @@ void Argument::print(std::ostream &o) const {
|
|||||||
|
|
||||||
// Value::dump - allow easy printing of Values from the debugger.
|
// Value::dump - allow easy printing of Values from the debugger.
|
||||||
// Located here because so much of the needed functionality is here.
|
// 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.
|
// Type::dump - allow easy printing of Values from the debugger.
|
||||||
// Located here because so much of the needed functionality is here.
|
// 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
|
// CachedWriter Class Implementation
|
||||||
|
Loading…
x
Reference in New Issue
Block a user