================ @@ -107,6 +107,7 @@ class ASTUnit { private: std::unique_ptr<LangOptions> LangOpts; + std::shared_ptr<DiagnosticOptions> DiagOpts; ---------------- cor3ntin wrote:
Ouch, this is not great :smile: Can you leave a FIXME comment in the source? Thanks https://github.com/llvm/llvm-project/pull/139584 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits