[llvm-branch-commits] [llvm] [DirectX] Move DXIL ResourceKind and ElementType to DXILABI.h. NFC (PR #78225)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Mon Jan 15 18:38:26 PST 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 b0fff11ff5d46deb5df3485b87b22bb61e93910f edca247b1dec13f7549ad7d43881d0c2b8f34d62 -- llvm/include/llvm/Frontend/HLSL/HLSLResource.h llvm/include/llvm/Support/DXILABI.h llvm/lib/Target/DirectX/DXILResource.cpp llvm/lib/Target/DirectX/DXILResource.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/Frontend/HLSL/HLSLResource.h b/llvm/include/llvm/Frontend/HLSL/HLSLResource.h
index dcf78ec856..edfcbda0a3 100644
--- a/llvm/include/llvm/Frontend/HLSL/HLSLResource.h
+++ b/llvm/include/llvm/Frontend/HLSL/HLSLResource.h
@@ -31,8 +31,8 @@ enum class ResourceClass : uint8_t {
};
// For now we use DXIL ABI enum values directly. This may change in the future.
-using dxil::ResourceKind;
using dxil::ElementType;
+using dxil::ResourceKind;
class FrontendResource {
MDNode *Entry;
``````````
</details>
https://github.com/llvm/llvm-project/pull/78225
More information about the llvm-branch-commits
mailing list