[llvm] [SPIR-V] Fix parsing of command line options for the SPIR-V Backend API call (PR #124653)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 27 22:09:07 PST 2025
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 7211bf48a62bfe3a181013f412f2fa6e112ae99f ba9970b23d17cc6c40f1270641c9f625a18326ee --extensions cpp -- llvm/lib/Target/SPIRV/SPIRVAPI.cpp llvm/unittests/Target/SPIRV/SPIRVAPITest.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/SPIRV/SPIRVAPI.cpp b/llvm/lib/Target/SPIRV/SPIRVAPI.cpp
index ba0f1eec13..4da9cde2c7 100644
--- a/llvm/lib/Target/SPIRV/SPIRVAPI.cpp
+++ b/llvm/lib/Target/SPIRV/SPIRVAPI.cpp
@@ -31,8 +31,8 @@
#include "llvm/Target/TargetMachine.h"
#include "llvm/TargetParser/SubtargetFeature.h"
#include "llvm/TargetParser/Triple.h"
-#include <optional>
#include <mutex>
+#include <optional>
#include <string>
#include <utility>
#include <vector>
``````````
</details>
https://github.com/llvm/llvm-project/pull/124653
More information about the llvm-commits
mailing list