Author: Adrian Prantl
Date: 2022-06-10T08:17:08-07:00
New Revision: d36757b511ea6ef466a8ce608a5431a5e6173632

URL: 
https://github.com/llvm/llvm-project/commit/d36757b511ea6ef466a8ce608a5431a5e6173632
DIFF: 
https://github.com/llvm/llvm-project/commit/d36757b511ea6ef466a8ce608a5431a5e6173632.diff

LOG: [LLDB][Docs] Fix formatting of example code-block

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

Added: 
    

Modified: 
    lldb/docs/use/variable.rst

Removed: 
    


################################################################################
diff  --git a/lldb/docs/use/variable.rst b/lldb/docs/use/variable.rst
index c60095b2d83f0..e86b863f24856 100644
--- a/lldb/docs/use/variable.rst
+++ b/lldb/docs/use/variable.rst
@@ -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]


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to