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]


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]
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
  • [Lldb-commits] [PATCH] ... Michael Buch via Phabricator via lldb-commits

Reply via email to