aboutsummaryrefslogtreecommitdiff
path: root/lib/Sema/SemaDeclCXX.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2011-05-22 22:10:16 +0000
committerChris Lattner <sabre@nondot.org>2011-05-22 22:10:16 +0000
commit784c257c8f5c3a737b0ae1dceb5d54d29b6637cf (patch)
tree716dc9bf3d8d440f00dd9beb73865e1a3fbda86a /lib/Sema/SemaDeclCXX.cpp
parentb644425e4c337f5fcffc00b2d4914d3e4012c45a (diff)
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. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@131871 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaDeclCXX.cpp')
0 files changed, 0 insertions, 0 deletions