[clang] [llvm] [modules] Accept equivalent module caches from different symlink (PR #90925)
Ben Langmuir via cfe-commits
cfe-commits at lists.llvm.org
Tue May 7 09:50:40 PDT 2024
================
@@ -833,32 +833,33 @@ bool SimpleASTReaderListener::ReadPreprocessorOptions(
/// against the header search options in an existing preprocessor.
///
/// \param Diags If non-null, produce diagnostics for any mismatches incurred.
-static bool checkHeaderSearchOptions(const HeaderSearchOptions &HSOpts,
+static bool checkHeaderSearchOptions(llvm::vfs::FileSystem &VFS,
----------------
benlangmuir wrote:
I realize you're not changing the _behaviour_ here, but now that we don't even pass in a `HeaderSearchOptions` we should probably rename this. Maybe `checkModuleCachePath`?
https://github.com/llvm/llvm-project/pull/90925
More information about the cfe-commits
mailing list