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

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 25 12:59:56 PDT 2025


================
@@ -269,9 +269,6 @@ class CompilerInvocation : public CompilerInvocationBase {
   /// @{
   using CompilerInvocationBase::LangOpts;
   using CompilerInvocationBase::TargetOpts;
-  std::shared_ptr<HeaderSearchOptions> getHeaderSearchOptsPtr() {
-    return HSOpts;
-  }
----------------
jansvoboda11 wrote:

This was the primary goal of this PR.

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


More information about the cfe-commits mailing list