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 HEAD~1 HEAD --extensions cpp -- 
clang/lib/Driver/Driver.cpp
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Driver/Driver.cpp b/clang/lib/Driver/Driver.cpp
index cf1032436..6489e387a 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -735,7 +735,7 @@ static llvm::Triple computeTargetTriple(const Driver &D,
                A->getOption().matches(options::OPT_maix32)) {
       if (D.IsFlangMode() && !Target.isOSAIX())
         D.Diag(diag::err_drv_unsupported_opt_for_target)
-           << A->getAsString(Args) << Target.str();
+            << A->getAsString(Args) << Target.str();
       else {
         AT = Target.get32BitArchVariant().getArch();
         if (Target.getEnvironment() == llvm::Triple::GNUX32)

``````````

</details>


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

Reply via email to