[clang] [clang] Do not share ownership of `HeaderSearchOptions` (PR #132984)
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 24 05:23:17 PDT 2025
================
@@ -569,7 +569,7 @@ CrossTranslationUnitContext::ASTLoader::loadFromDump(StringRef ASTDumpPath) {
return ASTUnit::LoadFromASTFile(
ASTDumpPath, CI.getPCHContainerOperations()->getRawReader(),
ASTUnit::LoadEverything, Diags, CI.getFileSystemOpts(),
- CI.getHeaderSearchOptsPtr());
+ CI.getHeaderSearchOpts());
----------------
AaronBallman wrote:
CC @haoNoQ @steakhal as well
https://github.com/llvm/llvm-project/pull/132984
More information about the cfe-commits
mailing list