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 9c1d2f84e91f39cdd17519ca61bd2aacd8bcbd84
4ad52946c35a879e3ef0f6dbf3704fadc7912ca5 --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 69981e7b9c..684f7715bf 100644
--- a/clang/lib/Driver/Driver.cpp
+++ b/clang/lib/Driver/Driver.cpp
@@ -638,7 +638,7 @@ static llvm::Triple computeTargetTriple(const Driver &D,
}
// Currently the only architecture supported by *-uefi triples are x86_64.
- if(Target.isUEFI() && Target.getArch() != llvm::Triple::x86_64)
+ if (Target.isUEFI() && Target.getArch() != llvm::Triple::x86_64)
D.Diag(diag::err_target_unknown_triple) << Target.str();
// The `-maix[32|64]` flags are only valid for AIX targets.
``````````
</details>
https://github.com/llvm/llvm-project/pull/124824
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits