[llvm] [DirectX] add enum for PSV resource type/kind/flag. (PR #106227)

via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 27 07:04:21 PDT 2024


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 ce2b488e90d6d5a5c8fe495ede8238938827da39 a4dffe2aa760c5594adaed974b4f92d44d29b318 --extensions cpp,h -- llvm/include/llvm/BinaryFormat/DXContainer.h llvm/include/llvm/ObjectYAML/DXContainerYAML.h llvm/lib/BinaryFormat/DXContainer.cpp llvm/lib/ObjectYAML/DXContainerYAML.cpp llvm/unittests/Object/DXContainerTest.cpp
``````````

</details>

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

``````````diff
diff --git a/llvm/lib/BinaryFormat/DXContainer.cpp b/llvm/lib/BinaryFormat/DXContainer.cpp
index efeb67acd3..790947cc72 100644
--- a/llvm/lib/BinaryFormat/DXContainer.cpp
+++ b/llvm/lib/BinaryFormat/DXContainer.cpp
@@ -119,4 +119,3 @@ static const EnumEntry<PSV::ResourceFlag> ResourceFlagNames[] = {
 ArrayRef<EnumEntry<PSV::ResourceFlag>> PSV::getResourceFlags() {
   return ArrayRef(ResourceFlagNames);
 }
-

``````````

</details>


https://github.com/llvm/llvm-project/pull/106227


More information about the llvm-commits mailing list