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 9a54c77aa361d0d1f98a39a89e3f543d15d182a5 b5988ff4fa2e5115e325020655fd570fd68eedd2 --extensions cpp,c -- clang/lib/Driver/ToolChains/WebAssembly.cpp 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 78cf8a1f6b..cd12f2ae5a 100644 --- a/clang/lib/Driver/ToolChains/WebAssembly.cpp +++ b/clang/lib/Driver/ToolChains/WebAssembly.cpp @@ -70,9 +70,8 @@ static bool TargetBuildsComponents(const llvm::Triple &TargetTriple) { } static bool WantsPthread(const llvm::Triple &Triple, const ArgList &Args) { - bool WantsPthread = Args.hasFlag(options::OPT_pthread, - options::OPT_no_pthread, - false); + bool WantsPthread = + Args.hasFlag(options::OPT_pthread, options::OPT_no_pthread, false); // If the WASI environment is "threads" then enable pthreads support // without requiring -pthread, in order to prevent user error `````````` </details> https://github.com/llvm/llvm-project/pull/129164 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits