[Lldb-commits] [PATCH] D127437: [LLDB][Docs] Fix formatting of example code-block

Michael Buch via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu Jun 9 12:43:53 PDT 2022


Michael137 created this revision.
Michael137 added a reviewer: aprantl.
Herald added a project: All.
Michael137 requested review of this revision.
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.

Tested by building the `docs-lldb-html` target and
confirming the code-block renders properly with
the fix.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D127437

Files:
  lldb/docs/use/variable.rst


Index: lldb/docs/use/variable.rst
===================================================================
--- lldb/docs/use/variable.rst
+++ lldb/docs/use/variable.rst
@@ -808,6 +808,7 @@
 Simple [3] as:
 
 ::
+
    (lldb) type summary add --summary-string "${var[].x}" -x "Simple \[[0-9]+\]"
    (lldb) frame variable
    (Simple [3]) sarray = [1,4,7]


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127437.435650.patch
Type: text/x-patch
Size: 349 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220609/97b694c9/attachment.bin>


More information about the lldb-commits mailing list