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 7d55b916a5e5091ff21d6fea4aaa54efe73535a7 d1a1b22da3e1361a34f2d4fa8a2f9ef361f109ee -- clang/lib/Driver/ToolChains/WebAssembly.cpp clang/lib/Driver/ToolChains/WebAssembly.h clang/test/Driver/wasm-toolchain.c `````````` </details> <details> <summary> View the diff from clang-format here. </summary> ``````````diff diff --git a/clang/lib/Driver/ToolChains/WebAssembly.cpp b/clang/lib/Driver/ToolChains/WebAssembly.cpp index 61bf9d8aae..b7c6efab83 100644 --- a/clang/lib/Driver/ToolChains/WebAssembly.cpp +++ b/clang/lib/Driver/ToolChains/WebAssembly.cpp @@ -84,7 +84,8 @@ void wasm::Linker::ConstructJob(Compilation &C, const JobAction &JA, // execution of `wasm-ld`. Find `wasm-ld` and pass it as an argument of where // to find it to avoid it needing to hunt and rediscover or search `PATH` for // where it is. - if (llvm::sys::path::stem(Linker).ends_with_insensitive("wasm-component-ld")) { + if (llvm::sys::path::stem(Linker).ends_with_insensitive( + "wasm-component-ld")) { CmdArgs.push_back("--wasm-ld-path"); CmdArgs.push_back(Args.MakeArgString(ToolChain.GetProgramPath("wasm-ld"))); } `````````` </details> https://github.com/llvm/llvm-project/pull/84569 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits