diff options
author | kadir çetinkaya <kadircet@google.com> | 2025-06-12 10:49:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-06-12 10:49:23 +0200 |
commit | 4551e5035565606eb04253a35f31d51685657436 (patch) | |
tree | 7890f21fb4f7c7d3f22b38d383bbfbb1ecb1a727 /clang/lib/Sema/SemaModule.cpp | |
parent | ce621041c2f162c50d630810491c2feee8eb6c64 (diff) | |
download | llvm-4551e5035565606eb04253a35f31d51685657436.zip llvm-4551e5035565606eb04253a35f31d51685657436.tar.gz llvm-4551e5035565606eb04253a35f31d51685657436.tar.bz2 |
[clang] Reset FileID based diag state mappings (#143695)
When sharing same compiler instance for multiple compilations, we reset
source manager's file id tables in between runs. Diagnostics engine
keeps a cache based on these file ids, that became dangling references
across compilations.
This patch makes sure we reset those whenever sourcemanager is trashing
its FileIDs.
Diffstat (limited to 'clang/lib/Sema/SemaModule.cpp')
0 files changed, 0 insertions, 0 deletions