]> granicus.if.org Git - clang/commit
Merging r327322:
authorTom Stellard <tstellar@redhat.com>
Fri, 11 May 2018 18:07:34 +0000 (18:07 +0000)
committerTom Stellard <tstellar@redhat.com>
Fri, 11 May 2018 18:07:34 +0000 (18:07 +0000)
commit6289e4b7814134dd00906fd0e227e0bc75871363
tree443fe308e84a799b172bf4a5aa0f269289314ab0
parent0e746072ed897a85b4f533ab050b9f506941a097
Merging r327322:

------------------------------------------------------------------------
r327322 | arphaman | 2018-03-12 12:36:29 -0700 (Mon, 12 Mar 2018) | 7 lines

[Tooling] Clear the PreambleSrcLocCache when preamble is discarded during reparsing

This ensures that diagnostics are not remapped to incorrect preamble locations after
the second reparse with a remapped header file occurs.

rdar://37502480

------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/cfe/branches/release_60@332113 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/ASTUnit.cpp
test/Index/Inputs/reparse-issue.h [new file with mode: 0644]
test/Index/Inputs/reparse-issue.h-0 [new file with mode: 0644]
test/Index/Inputs/reparse-issue.h-1 [new file with mode: 0644]
test/Index/reparsed-live-issue.cpp [new file with mode: 0644]