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/test/Driver/clang-sycl-linker-test.cpp
clang/test/Driver/sycl-link-spirv-target.cpp
clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
b/clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
index d8952158a..ab718c5a8 100644
--- a/clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
+++ b/clang/tools/clang-sycl-linker/ClangSYCLLinker.cpp
@@ -278,8 +278,8 @@ Expected<StringRef> linkDeviceCode(ArrayRef<std::string>
InputFiles,
/// Converts 'File' from LLVM bitcode to SPIR-V format using SPIR-V backend.
/// 'Args' encompasses all arguments required for linking device code and will
/// be parsed to generate options required to be passed into the backend.
-static Expected<StringRef> runSPIRVCodeGen(StringRef File,
- const ArgList &Args, LLVMContext
&C) {
+static Expected<StringRef> runSPIRVCodeGen(StringRef File, const ArgList &Args,
+ LLVMContext &C) {
llvm::TimeTraceScope TimeScope("SPIR-V code generation");
// Parse input module.
``````````
</details>
https://github.com/llvm/llvm-project/pull/133967
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits