diff options
| author | Dan Gohman <gohman@apple.com> | 2008-09-14 17:21:12 +0000 |
|---|---|---|
| committer | Dan Gohman <gohman@apple.com> | 2008-09-14 17:21:12 +0000 |
| commit | 81313fd8d1e828a403100e417ea961852ca29d7a (patch) | |
| tree | 295405ce69b5bc73f73bb071410fc30d48295604 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | c0d712d9ed7ba899518d6f8d96b7781953a17fc8 (diff) | |
| download | llvm-81313fd8d1e828a403100e417ea961852ca29d7a.zip llvm-81313fd8d1e828a403100e417ea961852ca29d7a.tar.gz llvm-81313fd8d1e828a403100e417ea961852ca29d7a.tar.bz2 | |
Fix WriteAsOperand to not emit a leading space character. Adjust
its callers to emit a space character before calling it when a
space is needed.
This fixes several spurious whitespace issues in
ScalarEvolution's debug dumps. See the test changes for
examples.
This also fixes odd space-after-tab indentation in the output
for switch statements, and changes calls from being printed like
this:
call void @foo( i32 %x )
to this:
call void @foo(i32 %x)
llvm-svn: 56196
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
