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

Jan Svoboda via cfe-commits cfe-commits at lists.llvm.org
Wed May 14 07:50:35 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,
----------------
jansvoboda11 wrote:

Explained above.

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


More information about the cfe-commits mailing list