[Lldb-commits] [lldb] [lldb] Make ValueObject::Dereference less aggressive (PR #137311)

via lldb-commits lldb-commits at lists.llvm.org
Fri Apr 25 03:57:35 PDT 2025


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {clang-format}-->


:warning: C/C++ code formatter, clang-format found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
git-clang-format --diff HEAD~1 HEAD --extensions cpp -- lldb/source/Target/StackFrame.cpp lldb/source/ValueObject/ValueObject.cpp
``````````

</details>

<details>
<summary>
View the diff from clang-format here.
</summary>

``````````diff
diff --git a/lldb/source/ValueObject/ValueObject.cpp b/lldb/source/ValueObject/ValueObject.cpp
index aeee12a13..2ebd93782 100644
--- a/lldb/source/ValueObject/ValueObject.cpp
+++ b/lldb/source/ValueObject/ValueObject.cpp
@@ -2392,7 +2392,7 @@ ValueObjectSP ValueObject::GetValueForExpressionPath_Impl(
         // if no other separator just expand this last layer
         llvm::StringRef child_name = temp_expression;
         ValueObjectSP child_valobj_sp =
-                root->GetChildMemberWithName(child_name);
+            root->GetChildMemberWithName(child_name);
         if (!child_valobj_sp) {
           if (ValueObjectSP altroot = GetAlternateValue(
                   *root, options.m_synthetic_children_traversal))

``````````

</details>


https://github.com/llvm/llvm-project/pull/137311


More information about the lldb-commits mailing list