diff options
author | Richard Smith <richard@metafoo.co.uk> | 2023-07-21 14:53:36 -0700 |
---|---|---|
committer | Richard Smith <richard@metafoo.co.uk> | 2023-07-21 15:49:47 -0700 |
commit | 7c5e4efb099e0badb4912467b7286938a4ed5011 (patch) | |
tree | 19ac8ab519b9ceb0f1d1ee44f2ee845fa92dbdea /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 24d293913c211c43af4d1ab0a23ab66d58aea6df (diff) | |
download | llvm-7c5e4efb099e0badb4912467b7286938a4ed5011.zip llvm-7c5e4efb099e0badb4912467b7286938a4ed5011.tar.gz llvm-7c5e4efb099e0badb4912467b7286938a4ed5011.tar.bz2 |
Track the RequestingModule in the HeaderSearch LookupFile cache.
Different requesting modules can have different lookup results, so don't
cache results across modules.
Fixes a regression introduced in reviews.llvm.org/D132779.
Test case based on one provided by Jan Svoboda.
Reviewed By: jansvoboda11
Differential Revision: https://reviews.llvm.org/D156000
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions