[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:52:39 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:

Could this code be performance sensitive?

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


More information about the cfe-commits mailing list