diff options
| author | Chris Lattner <sabre@nondot.org> | 2011-05-22 22:10:16 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2011-05-22 22:10:16 +0000 |
| commit | 3bdc7679ce7bf7c6a62b37ec431f3490df732c90 (patch) | |
| tree | 5b839e6d4ff179ff962619d3c700c217494689da /llvm/test | |
| parent | a8cde3c08d5bb60b1e9946d0964412828e35de2f (diff) | |
| download | bcm5719-llvm-3bdc7679ce7bf7c6a62b37ec431f3490df732c90.tar.gz bcm5719-llvm-3bdc7679ce7bf7c6a62b37ec431f3490df732c90.zip | |
Invoke the FileChanged callback before pushing the linemarker for a system
header. Getting it in the wrong order generated incorrect line markers in -E
mode. In the testcase from PR9861 we used to generate:
# 1 "test.c" 2
# 1 "./foobar.h" 1
# 0 "./foobar.h"
# 0 "./foobar.h" 3
# 2 "test.c" 2
now we properly produce:
# 1 "test.c" 2
# 1 "./foobar.h" 1
# 1 "./foobar.h" 3
# 2 "test.c" 2
This fixes PR9861.
llvm-svn: 131871
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions

