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

Ben Langmuir via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 9 15:30:28 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))
----------------
benlangmuir wrote:

Shouldn't this be `getExistingLocalFileInfo` since it was previously `/*WantExternal*/ false`?

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


More information about the cfe-commits mailing list