diff options
author | Alex Lorenz <arphaman@gmail.com> | 2018-03-12 19:36:29 +0000 |
---|---|---|
committer | Alex Lorenz <arphaman@gmail.com> | 2018-03-12 19:36:29 +0000 |
commit | 07fe671aaad3e93b9f7178ae1309304a73a3b3bf (patch) | |
tree | 7acc2006dd73d86cebf93e856358067f19bd61fe /lib/Sema/SemaStmt.cpp | |
parent | ed0ca152fbe69b6230715a32f29415a526b46331 (diff) | |
download | clang-07fe671aaad3e93b9f7178ae1309304a73a3b3bf.tar.gz |
[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/trunk@327322 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/SemaStmt.cpp')
0 files changed, 0 insertions, 0 deletions