[clang] [clang] Do not share ownership of `HeaderSearchOptions` (PR #132984)

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 4 10:14:13 PDT 2025


================
@@ -48,7 +48,7 @@ void ASTMergeAction::ExecuteAction() {
                                     /*ShouldOwnClient=*/true));
     std::unique_ptr<ASTUnit> Unit = ASTUnit::LoadFromASTFile(
         ASTFiles[I], CI.getPCHContainerReader(), ASTUnit::LoadEverything, Diags,
-        CI.getFileSystemOpts(), CI.getHeaderSearchOptsPtr());
+        CI.getFileSystemOpts(), CI.getHeaderSearchOpts());
----------------
jansvoboda11 wrote:

Ping, and CC @zygoloid too.

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


More information about the cfe-commits mailing list