[llvm] [DirectX] Error handling improve in root signature metadata Parser (PR #149232)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 23 18:04:55 PDT 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 HEAD~1 HEAD --extensions h,cpp -- llvm/include/llvm/Frontend/HLSL/RootSignatureMetadata.h llvm/lib/Frontend/HLSL/RootSignatureMetadata.cpp llvm/lib/Target/DirectX/DXILRootSignature.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/include/llvm/Frontend/HLSL/RootSignatureMetadata.h b/llvm/include/llvm/Frontend/HLSL/RootSignatureMetadata.h
index adcb36f82..39ddb374d 100644
--- a/llvm/include/llvm/Frontend/HLSL/RootSignatureMetadata.h
+++ b/llvm/include/llvm/Frontend/HLSL/RootSignatureMetadata.h
@@ -17,8 +17,6 @@
#include "llvm/Frontend/HLSL/HLSLRootSignature.h"
#include "llvm/IR/Constants.h"
#include "llvm/MC/DXContainerRootSignature.h"
-#include "llvm/IR/Constants.h"
-#include "llvm/MC/DXContainerRootSignature.h"
namespace llvm {
class LLVMContext;
``````````
</details>
https://github.com/llvm/llvm-project/pull/149232
More information about the llvm-commits
mailing list