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 4ab5e90c9c52fcf9b4ed297c887b31219e41f7d8 
b6051edba2a1ecae144ead48712fb511c204131a --extensions 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 1093c4b665..af55379d47 100644
--- a/lldb/source/ValueObject/ValueObject.cpp
+++ b/lldb/source/ValueObject/ValueObject.cpp
@@ -3348,8 +3348,8 @@ lldb::ValueObjectSP 
ValueObject::CastToBasicType(CompilerType type) {
   }
 
   Status error = Status::FromErrorString("Unable to perform requested cast");
-  return ValueObjectConstResult::Create(
-      exe_ctx.GetBestExecutionContextScope(), error.Clone());
+  return ValueObjectConstResult::Create(exe_ctx.GetBestExecutionContextScope(),
+                                        error.Clone());
 }
 
 lldb::ValueObjectSP ValueObject::CastToEnumType(CompilerType type) {
@@ -3416,8 +3416,8 @@ lldb::ValueObjectSP 
ValueObject::CastToEnumType(CompilerType type) {
     }
   }
   Status error = Status::FromErrorString("Cannot perform requested cast");
-  return ValueObjectConstResult::Create(
-      exe_ctx.GetBestExecutionContextScope(), error.Clone());
+  return ValueObjectConstResult::Create(exe_ctx.GetBestExecutionContextScope(),
+                                        error.Clone());
 }
 
 ValueObject::EvaluationPoint::EvaluationPoint() : m_mod_id(), m_exe_ctx_ref() 
{}

``````````

</details>


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

Reply via email to