================ @@ -193,9 +193,8 @@ struct StatisticsOptions { bool GetIncludeTranscript() const { if (m_include_transcript.has_value()) return m_include_transcript.value(); - // `m_include_transcript` has no value set, so return a value based on - // `m_summary_only`. - return !GetSummaryOnly(); + // Default to false in both default mode and summary mode. + return false; ---------------- Michael137 wrote:
Can we just do: ``` return m_include_transcript.value_or(false); ``` https://github.com/llvm/llvm-project/pull/145436 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits