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 369b82218419a0218400e7483255523b8dfd6cf0 
787d48cd3e2af5478f05986268e91d1bfb5a4c30 -- 
lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp 
b/lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
index 4080a31224..70228f0643 100644
--- a/lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
+++ b/lldb/source/Plugins/SymbolVendor/MacOSX/SymbolVendorMacOSX.cpp
@@ -123,8 +123,8 @@ SymbolVendorMacOSX::CreateInstance(const lldb::ModuleSP 
&module_sp,
     // pass through this routine both for binaries and for .o files, but in the
     // latter case there will never be an external debug file.  So we shouldn't
     // do all the stats needed to find it.
-    if (!dsym_fspec && module_sp->GetObjectFile()->CalculateType() 
-        != ObjectFile::eTypeObjectFile) {
+    if (!dsym_fspec && module_sp->GetObjectFile()->CalculateType() !=
+                           ObjectFile::eTypeObjectFile) {
       // No symbol file was specified in the module, lets try and find one
       // ourselves.
       FileSpec file_spec = obj_file->GetFileSpec();

``````````

</details>


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

Reply via email to