Skip to content

Commit

Permalink
[LLDB][Docs] Fix formatting of example code-block
Browse files Browse the repository at this point in the history
Tested by building the docs-lldb-html target and
confirming the code-block renders properly with
the fix.

Patch by Michael Buch!

Differential Revision: https://reviews.llvm.org/D127437
  • Loading branch information
adrian-prantl committed Jun 10, 2022
1 parent 04b944e commit d36757b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lldb/docs/use/variable.rst
Expand Up @@ -808,6 +808,7 @@ of type names. This would let you rephrase the above example for arrays of type
Simple [3] as:

::

(lldb) type summary add --summary-string "${var[].x}" -x "Simple \[[0-9]+\]"
(lldb) frame variable
(Simple [3]) sarray = [1,4,7]
Expand Down

0 comments on commit d36757b

Please sign in to comment.