[Lldb-commits] [lldb] [lldb] upgrade HandleFrameFormatVariable callees to llvm::Expected (PR #144731)
via lldb-commits
lldb-commits at lists.llvm.org
Fri Jun 20 02:19: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/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp b/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
index 1e3f4e52b..7ae2e141a 100644
--- a/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
+++ b/lldb/source/Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp
@@ -2007,9 +2007,9 @@ bool CPlusPlusLanguage::HandleFrameFormatVariable(
case FormatEntity::Entry::Type::FunctionQualifiers: {
auto quals_or_err = GetDemangledFunctionQualifiers(sc);
if (!quals_or_err) {
- LLDB_LOG_ERROR(
- GetLog(LLDBLog::Language), quals_or_err.takeError(),
- "Failed to handle ${{function.qualifiers}} frame-format variable: {0}");
+ LLDB_LOG_ERROR(GetLog(LLDBLog::Language), quals_or_err.takeError(),
+ "Failed to handle ${{function.qualifiers}} frame-format "
+ "variable: {0}");
return false;
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/144731
More information about the lldb-commits
mailing list