[clang] [clang-tools-extra] [clang][modules] Do not resolve `HeaderFileInfo` externally in `ASTWriter` (PR #87848)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Thu Apr 11 09:18:59 PDT 2024


================
@@ -409,7 +409,7 @@ class SymbolCollector::HeaderFileURICache {
     // Framework headers are spelled as <FrameworkName/Foo.h>, not
     // "path/FrameworkName.framework/Headers/Foo.h".
     auto &HS = PP->getHeaderSearchInfo();
-    if (const auto *HFI = HS.getExistingFileInfo(*FE, /*WantExternal*/ false))
+    if (const auto *HFI = HS.getExistingFileInfo(*FE))
----------------
jansvoboda11 wrote:

Changed this to `getExistingLocalFileInfo()` and will create a separate PR for changing this to `getExistingFileInfo()`.

https://github.com/llvm/llvm-project/pull/87848


More information about the cfe-commits mailing list