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 a574ef61766d49db4350b6f06a108f36bccb25bb 
8512bbcee108751776591160797af32885377587 -- 
clang/lib/Driver/ToolChains/RISCVToolchain.cpp 
clang/lib/Driver/ToolChains/RISCVToolchain.h 
clang/test/Driver/riscv64-toolchain.c
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Driver/ToolChains/RISCVToolchain.cpp 
b/clang/lib/Driver/ToolChains/RISCVToolchain.cpp
index b5685eaee..037741c2a 100644
--- a/clang/lib/Driver/ToolChains/RISCVToolchain.cpp
+++ b/clang/lib/Driver/ToolChains/RISCVToolchain.cpp
@@ -49,9 +49,9 @@ bool RISCVToolChain::hasGCCToolchain(const Driver &D,
 /// RISC-V Toolchain
 RISCVToolChain::RISCVToolChain(const Driver &D, const llvm::Triple &Triple,
                                const ArgList &Args)
-    : Generic_ELF(D, Triple, Args), UseLLD{Args.getLastArgValue(
-                                                   options::OPT_fuse_ld_EQ)
-                                               .equals_insensitive("lld")} {
+    : Generic_ELF(D, Triple, Args),
+      UseLLD{Args.getLastArgValue(options::OPT_fuse_ld_EQ)
+                 .equals_insensitive("lld")} {
   GCCInstallation.init(Triple, Args);
 
   if (GCCInstallation.isValid()) {

``````````

</details>


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

Reply via email to