https://github.com/sedymrak created 
https://github.com/llvm/llvm-project/pull/177785

This commit improves the way how the example code attached to 
`SBDebugger::GetSetting` method is rendered by Doxygen.

From e85c37c68b279bcc8071410ec26c7467759d0a32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Matej=20Ko=C5=A1=C3=ADk?= <[email protected]>
Date: Sat, 24 Jan 2026 18:39:16 +0100
Subject: [PATCH] [lldb] improve Doxygen comments attached to the
 "SBDebugger::GetSetting" method

---
 lldb/include/lldb/API/SBDebugger.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lldb/include/lldb/API/SBDebugger.h 
b/lldb/include/lldb/API/SBDebugger.h
index 39980349065cf..688fc9197965c 100644
--- a/lldb/include/lldb/API/SBDebugger.h
+++ b/lldb/include/lldb/API/SBDebugger.h
@@ -190,11 +190,13 @@ class LLDB_API SBDebugger {
   /// Client can specify empty string or null to get all settings.
   ///
   /// Example usages:
+  /// \code
   /// lldb::SBStructuredData settings = debugger.GetSetting();
   /// lldb::SBStructuredData settings = debugger.GetSetting(nullptr);
   /// lldb::SBStructuredData settings = debugger.GetSetting("");
   /// lldb::SBStructuredData settings = debugger.GetSetting("target.arg0");
   /// lldb::SBStructuredData settings = debugger.GetSetting("target");
+  /// \endcode
   lldb::SBStructuredData GetSetting(const char *setting = nullptr);
 
   /// Set whether the debugger should run in asynchronous mode.

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to