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 cpp,h -- 
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.cpp 
lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h 
--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/Plugins/Platform/MacOSX/PlatformDarwinKernel.h 
b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h
index 5f80de0cf..e265e7238 100644
--- a/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h
+++ b/lldb/source/Plugins/Platform/MacOSX/PlatformDarwinKernel.h
@@ -146,12 +146,10 @@ protected:
 
   /// \param search_paths Where to look for a kernel's dSYM. The caller 
supplies
   ///   these because there is not always a process to take them from.
-  Status
-  GetSharedModuleKernel(const ModuleSpec &module_spec, Process *process,
-                        const FileSpecList &search_paths,
-                        lldb::ModuleSP &module_sp,
-                        llvm::SmallVectorImpl<lldb::ModuleSP> *old_modules,
-                        bool *did_create_ptr);
+  Status GetSharedModuleKernel(
+      const ModuleSpec &module_spec, Process *process,
+      const FileSpecList &search_paths, lldb::ModuleSP &module_sp,
+      llvm::SmallVectorImpl<lldb::ModuleSP> *old_modules, bool 
*did_create_ptr);
 
   Status ExamineKextForMatchingUUID(const FileSpec &kext_bundle_path,
                                     const UUID &uuid, const ArchSpec &arch,

``````````

</details>


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

Reply via email to