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 origin/main HEAD --extensions h,cpp -- 
lldb/include/lldb/API/SBType.h lldb/include/lldb/Symbol/Type.h 
lldb/source/API/SBType.cpp lldb/source/Symbol/Type.cpp 
lldb/test/API/python_api/type/main.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/lldb/source/Symbol/Type.cpp b/lldb/source/Symbol/Type.cpp
index e3d83982e..f9e7df802 100644
--- a/lldb/source/Symbol/Type.cpp
+++ b/lldb/source/Symbol/Type.cpp
@@ -1212,7 +1212,8 @@ bool TypeImpl::GetDescription(lldb_private::Stream &strm,
   return true;
 }
 
-CompilerType TypeImpl::FindDirectNestedType(llvm::StringRef name, bool 
prefer_dynamic) {
+CompilerType TypeImpl::FindDirectNestedType(llvm::StringRef name,
+                                            bool prefer_dynamic) {
   if (name.empty())
     return CompilerType();
   return GetCompilerType(prefer_dynamic).GetDirectNestedTypeWithName(name);
diff --git a/lldb/test/API/python_api/type/main.cpp 
b/lldb/test/API/python_api/type/main.cpp
index ba032a916..3d31790be 100644
--- a/lldb/test/API/python_api/type/main.cpp
+++ b/lldb/test/API/python_api/type/main.cpp
@@ -64,7 +64,7 @@ struct WithNestedTypedef {
 WithNestedTypedef::TheTypedef typedefed_value;
 
 struct PolymorphicBase {
-  virtual void foo () {}
+  virtual void foo() {}
 };
 
 struct PolymorphicDerived : PolymorphicBase {

``````````

</details>


https://github.com/llvm/llvm-project/pull/204811
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to