[Lldb-commits] [lldb] [lldb][docs] Clean Variable Formatting Documentation (PR #193907)
Will Hawkins via lldb-commits
lldb-commits at lists.llvm.org
Mon Apr 27 06:18:44 PDT 2026
================
@@ -203,9 +205,14 @@ Note, that qualifiers such as const and volatile will be stripped when matching
(const int) y = 0x00000002
(volatile int) z = 0x00000004
-Two additional options that you will want to look at are --skip-pointers (-p)
-and --skip-references (-r). These two options prevent LLDB from applying a
-format for type T to values of type T* and T& respectively.
+Type formats *can* be applied to pointers and references (by using the
+``pointer`` "adjective" before the type in the ``type format`` command)
+but they specify the format to be applied to the pointer or reference
+and not the value at the pointer or reference. The ``--skip-pointers`` (``-p``)
----------------
hawkinsw wrote:
I would like to think that they provide long-distance high fives!
https://github.com/llvm/llvm-project/pull/193907
More information about the lldb-commits
mailing list