[all-commits] [llvm/llvm-project] 7c5e4e: Track the RequestingModule in the HeaderSearch Loo...
Richard Smith via All-commits
all-commits at lists.llvm.org
Fri Jul 21 15:50:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7c5e4efb099e0badb4912467b7286938a4ed5011
https://github.com/llvm/llvm-project/commit/7c5e4efb099e0badb4912467b7286938a4ed5011
Author: Richard Smith <richard at metafoo.co.uk>
Date: 2023-07-21 (Fri, 21 Jul 2023)
Changed paths:
M clang/include/clang/Lex/HeaderSearch.h
M clang/lib/Lex/HeaderSearch.cpp
A clang/test/Modules/lookup-file-cache.cpp
Log Message:
-----------
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
More information about the All-commits
mailing list