diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-12-09 20:45:43 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-12-09 20:45:43 +0000 |
| commit | 84f450789a7c7f05b720be697e557d859fd4fc0c (patch) | |
| tree | 167b7f63bdc1d8caeef66ec110567d80f8d72f26 /clang/CodeGen/CodeGenModule.cpp | |
| parent | 615315f30787266701bb4fefb00a86b3f67ff9db (diff) | |
| download | bcm5719-llvm-84f450789a7c7f05b720be697e557d859fd4fc0c.tar.gz bcm5719-llvm-84f450789a7c7f05b720be697e557d859fd4fc0c.zip | |
Fix a pretty big but subtle bug counting the number of newlines to emit.
This would cause us to emit different code (in -E mode) for these two files:
---
#define t(x) x
t(a
3)
---
#define t(x) x
t(a
3)
---
In one case, -E would print "a\n3", in the other it printed "a3". Now
it prints "a3" for both.
This is part of PR1848.
llvm-svn: 44742
Diffstat (limited to 'clang/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions

