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 9626e84faeaab200665bae9694458c2beb3d49c7 
47e2879bf9f49ece471d9e0d47d16c175d012703 --extensions cpp,h -- 
lldb/include/lldb/API/SBError.h lldb/include/lldb/API/SBValueList.h 
lldb/include/lldb/Core/ValueObjectConstResult.h 
lldb/include/lldb/Target/Process.h lldb/include/lldb/Utility/Status.h 
lldb/source/API/SBBreakpoint.cpp lldb/source/API/SBBreakpointLocation.cpp 
lldb/source/API/SBBreakpointName.cpp lldb/source/API/SBDebugger.cpp 
lldb/source/API/SBError.cpp lldb/source/API/SBFile.cpp 
lldb/source/API/SBFormat.cpp lldb/source/API/SBFrame.cpp 
lldb/source/API/SBPlatform.cpp lldb/source/API/SBProcess.cpp 
lldb/source/API/SBSaveCoreOptions.cpp lldb/source/API/SBStructuredData.cpp 
lldb/source/API/SBTarget.cpp lldb/source/API/SBThread.cpp 
lldb/source/API/SBValue.cpp lldb/source/API/SBValueList.cpp 
lldb/source/API/SBWatchpoint.cpp 
lldb/source/Commands/CommandObjectBreakpoint.cpp 
lldb/source/Commands/CommandObjectCommands.cpp 
lldb/source/Commands/CommandObjectMemoryTag.cpp 
lldb/source/Commands/CommandObjectStats.cpp 
lldb/source/Commands/CommandObjectTrace.cpp lldb/source/Core/Debugger.cpp 
lldb/source/Core/ModuleList.cpp lldb/source/Core/PluginManager.cpp 
lldb/source/Core/ThreadedCommunication.cpp lldb/source/Core/ValueObject.cpp 
lldb/source/Core/ValueObjectCast.cpp 
lldb/source/Core/ValueObjectConstResult.cpp 
lldb/source/Core/ValueObjectDynamicValue.cpp 
lldb/source/Core/ValueObjectSyntheticFilter.cpp 
lldb/source/Core/ValueObjectVTable.cpp lldb/source/Core/ValueObjectVariable.cpp 
lldb/source/DataFormatters/VectorType.cpp 
lldb/source/Expression/FunctionCaller.cpp 
lldb/source/Expression/LLVMUserExpression.cpp 
lldb/source/Expression/Materializer.cpp 
lldb/source/Expression/UserExpression.cpp lldb/source/Host/common/FileCache.cpp 
lldb/source/Host/common/LockFileBase.cpp 
lldb/source/Host/common/NativeProcessProtocol.cpp 
lldb/source/Host/common/TCPSocket.cpp 
lldb/source/Host/posix/ConnectionFileDescriptorPosix.cpp 
lldb/source/Interpreter/CommandInterpreter.cpp 
lldb/source/Interpreter/CommandObject.cpp 
lldb/source/Interpreter/OptionValueRegex.cpp 
lldb/source/Interpreter/ScriptInterpreter.cpp 
lldb/source/Plugins/Language/CPlusPlus/BlockPointer.cpp 
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp 
lldb/source/Plugins/ObjectFile/Minidump/ObjectFileMinidump.cpp 
lldb/source/Plugins/Platform/Android/AdbClient.cpp 
lldb/source/Plugins/Platform/Android/PlatformAndroidRemoteGDBServer.cpp 
lldb/source/Plugins/Platform/MacOSX/objcxx/PlatformiOSSimulatorCoreSimulatorSupport.h
 lldb/source/Plugins/Platform/POSIX/PlatformPOSIX.cpp 
lldb/source/Plugins/Platform/Windows/PlatformWindows.cpp 
lldb/source/Plugins/Process/Utility/NativeRegisterContextDBReg_arm64.cpp 
lldb/source/Plugins/Process/elf-core/ProcessElfCore.cpp 
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunication.cpp 
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServer.cpp 
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp 
lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerPlatform.cpp 
lldb/source/Plugins/Process/minidump/ProcessMinidump.cpp 
lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedProcessPythonInterface.cpp
 
lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ScriptedPythonInterface.h
 lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp 
lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp 
lldb/source/Plugins/StructuredData/DarwinLog/StructuredDataDarwinLog.cpp 
lldb/source/Plugins/SymbolFile/DWARF/DWARFUnit.h 
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp 
lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARFDebugMap.cpp 
lldb/source/Target/ModuleCache.cpp lldb/source/Target/Platform.cpp 
lldb/source/Target/Process.cpp lldb/source/Target/StackFrame.cpp 
lldb/source/Target/Target.cpp lldb/source/Target/Thread.cpp 
lldb/source/Utility/Scalar.cpp lldb/source/Utility/Status.cpp 
lldb/source/Utility/StructuredData.cpp 
lldb/unittests/Target/RemoteAwarePlatformTest.cpp 
lldb/unittests/TestingSupport/Host/NativeProcessTestUtils.h 
lldb/unittests/Utility/StatusTest.cpp
``````````

</details>

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

``````````diff
diff --git a/lldb/source/Utility/Status.cpp b/lldb/source/Utility/Status.cpp
index 54b26ad5a5..a165bfe57f 100644
--- a/lldb/source/Utility/Status.cpp
+++ b/lldb/source/Utility/Status.cpp
@@ -94,9 +94,7 @@ Status Status::FromErrorStringWithFormat(const char *format, 
...) {
   return Status(string);
 }
 
-Status Status::FromError(llvm::Error error) {
-  return Status(std::move(error));
-}
+Status Status::FromError(llvm::Error error) { return Status(std::move(error)); 
}
 
 llvm::Error Status::ToError() const {
   if (Success())

``````````

</details>


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

Reply via email to