From f65d756bff8d4c5cbc15bd0322a2ae8e6b896a21 Mon Sep 17 00:00:00 2001 From: Ellie Hermaszewska Date: Tue, 29 Oct 2024 14:49:26 +0800 Subject: format * format * Minor test fixes * enable checking cpp format in ci --- source/core/slang-process-util.h | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'source/core/slang-process-util.h') diff --git a/source/core/slang-process-util.h b/source/core/slang-process-util.h index 14ca208f8..25cf0aca3 100644 --- a/source/core/slang-process-util.h +++ b/source/core/slang-process-util.h @@ -4,7 +4,8 @@ #include "slang-process.h" -namespace Slang { +namespace Slang +{ struct ExecuteResult { @@ -24,17 +25,20 @@ struct ExecuteResult struct ProcessUtil { - /// Execute the command line + /// Execute the command line static SlangResult execute(const CommandLine& commandLine, ExecuteResult& outExecuteResult); - /// Read from read from streams until process terminates. - /// Passing nullptr for a stream, will just discard what's in the stream - static SlangResult readUntilTermination(Process* process, List* outStdOut, List* stdError); + /// Read from read from streams until process terminates. + /// Passing nullptr for a stream, will just discard what's in the stream + static SlangResult readUntilTermination( + Process* process, + List* outStdOut, + List* stdError); - /// Read streams from process. + /// Read streams from process. static SlangResult readUntilTermination(Process* process, ExecuteResult& outExecuteResult); }; -} +} // namespace Slang #endif // SLANG_PROCESS_UTIL_H -- cgit v1.2.3