[Lldb-commits] [lldb] [lldb] Add support for updating string during debug process (PR #67782)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 22 22:44:42 PST 2024


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 22764918b5c1496970ab6bb1547535c554a06347 374784cbaaffe9ca2bac716c996485783b959364 -- lldb/source/Plugins/Language/CPlusPlus/LibCxxString.cpp lldb/source/Plugins/Language/CPlusPlus/LibCxxStringInfoExtractor.h lldb/test/API/python_api/value/change_values/libcxx/string/main.cpp lldb/source/DataFormatters/FormatManager.cpp lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp lldb/source/Plugins/Language/CPlusPlus/LibCxx.cpp lldb/source/Plugins/Language/CPlusPlus/LibCxx.h
``````````

</details>

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

``````````diff
diff --git a/lldb/source/DataFormatters/FormatManager.cpp b/lldb/source/DataFormatters/FormatManager.cpp
index b57b9b864a..350479a611 100644
--- a/lldb/source/DataFormatters/FormatManager.cpp
+++ b/lldb/source/DataFormatters/FormatManager.cpp
@@ -508,7 +508,7 @@ bool FormatManager::ShouldPrintAsOneLiner(ValueObject &valobj) {
       }
       // ... if we only have them to provide a value, keep going
       else if (!synth_sp->MightHaveChildren() &&
-          synth_sp->DoesProvideSyntheticValue())
+               synth_sp->DoesProvideSyntheticValue())
         is_synth_val = true;
       else
         return false;

``````````

</details>


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


More information about the lldb-commits mailing list