llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Sam Estep (samestep)

<details>
<summary>Changes</summary>

This PR cleans up the formatting of the [LLDB doc paragraph about `type format 
delete`](https://lldb.llvm.org/use/variable.html#type-format) to make it more 
readable.

---
Full diff: https://github.com/llvm/llvm-project/pull/149311.diff


1 Files Affected:

- (modified) lldb/docs/use/variable.rst (+5-4) 


``````````diff
diff --git a/lldb/docs/use/variable.rst b/lldb/docs/use/variable.rst
index 212e5c5f8a140..0b5f044802739 100644
--- a/lldb/docs/use/variable.rst
+++ b/lldb/docs/use/variable.rst
@@ -224,10 +224,11 @@ format, which means you are effectively formatting the 
address stored in the
 pointer rather than the pointee value. For this reason, you may want to use the
 -p option when defining formats.
 
-If you need to delete a custom format simply type type format delete followed
-by the name of the type to which the format applies.Even if you defined the
-same format for multiple types on the same command, type format delete will
-only remove the format for the type name passed as argument.
+If you need to delete a custom format, simply type ``type format delete``
+followed by the name of the type to which the format applies. Even if you
+defined the same format for multiple types on the same command,
+``type format delete`` will only remove the format for the type name passed as
+argument.
 
 To delete ALL formats, use ``type format clear``. To see all the formats
 defined, use type format list.

``````````

</details>


https://github.com/llvm/llvm-project/pull/149311
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to