[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] Remove intrusive reference count from `DiagnosticOptions` (PR #139584)

via lldb-commits lldb-commits at lists.llvm.org
Wed May 14 02:44:51 PDT 2025


================
@@ -837,6 +838,7 @@ class ASTUnit {
   static std::unique_ptr<ASTUnit> LoadFromCommandLine(
       const char **ArgBegin, const char **ArgEnd,
       std::shared_ptr<PCHContainerOperations> PCHContainerOps,
+      std::shared_ptr<DiagnosticOptions> DiagOpts,
----------------
cor3ntin wrote:

We probably can pass by reference here

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


More information about the lldb-commits mailing list