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 h,cpp -- 
lldb/test/Shell/RPC/Generator/Inputs/Client/CheckArrayPointer.h 
lldb/test/Shell/RPC/Generator/Inputs/Client/CheckConstCharPtrPtrWithLen.h 
lldb/test/Shell/RPC/Generator/Inputs/Client/CheckConstSBRef.h 
lldb/test/Shell/RPC/Generator/Inputs/Client/CheckNonConstSBRef.h 
lldb/test/Shell/RPC/Generator/Inputs/Client/CheckSBPointer.h 
lldb/test/Shell/RPC/Generator/Inputs/Client/CheckVoidPtr.h 
lldb/tools/lldb-rpc/lldb-rpc-gen/client/RPCLibraryHeaderEmitter.cpp 
lldb/tools/lldb-rpc/lldb-rpc-gen/client/RPCLibraryHeaderEmitter.h 
lldb/tools/lldb-rpc/lldb-rpc-gen/client/RPCLibrarySourceEmitter.cpp 
lldb/tools/lldb-rpc/lldb-rpc-gen/client/RPCLibrarySourceEmitter.h 
lldb/tools/lldb-rpc/lldb-rpc-gen/lldb-rpc-gen.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/tools/lldb-rpc/lldb-rpc-gen/lldb-rpc-gen.cpp 
b/lldb/tools/lldb-rpc/lldb-rpc-gen/lldb-rpc-gen.cpp
index 0c48e0391..747dc9556 100644
--- a/lldb/tools/lldb-rpc/lldb-rpc-gen/lldb-rpc-gen.cpp
+++ b/lldb/tools/lldb-rpc/lldb-rpc-gen/lldb-rpc-gen.cpp
@@ -92,7 +92,7 @@ public:
             std::unique_ptr<llvm::ToolOutputFile> &&LibraryHeaderOutputFile)
       : Byproducts(Byproducts), Manager(Manager), Context(Context),
         ServerSourceEmitter(std::move(ServerMethodOutputFile)),
-        ServerHeaderEmitter(std::move(ServerHeaderOutputFile)) ,
+        ServerHeaderEmitter(std::move(ServerHeaderOutputFile)),
         LibrarySourceEmitter(std::move(LibrarySourceOutputFile)),
         LibraryHeaderEmitter(std::move(LibraryHeaderOutputFile)) {}
 
@@ -247,7 +247,8 @@ public:
              std::unique_ptr<llvm::ToolOutputFile> &&LibrarySourceOutputFile,
              std::unique_ptr<llvm::ToolOutputFile> &&LibraryHeaderOutputFile)
       : Visitor(Byproducts, Manager, Context, 
std::move(ServerMethodOutputFile),
-                std::move(ServerHeaderOutputFile), 
std::move(LibrarySourceOutputFile),
+                std::move(ServerHeaderOutputFile),
+                std::move(LibrarySourceOutputFile),
                 std::move(LibraryHeaderOutputFile)) {}
   bool HandleTopLevelDecl(DeclGroupRef DR) override {
     for (Decl *D : DR)
@@ -301,7 +302,8 @@ public:
     LibraryHeaderOutputFile->keep();
     return std::make_unique<SBConsumer>(
         Byproducts, CI.getSourceManager(), CI.getASTContext(),
-        std::move(ServerMethodOutputFile), std::move(ServerHeaderOutputFile), 
std::move(LibrarySourceOutputFile), std::move(LibraryHeaderOutputFile));
+        std::move(ServerMethodOutputFile), std::move(ServerHeaderOutputFile),
+        std::move(LibrarySourceOutputFile), 
std::move(LibraryHeaderOutputFile));
   }
 
 private:

``````````

</details>


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

Reply via email to