[llvm] [NFC][DirectX] Rename ResourceInfo::RecordID to BindingID (PR #216376)

via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 14 15:02:58 PDT 2026


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 origin/main HEAD --extensions cpp,h -- llvm/include/llvm/Analysis/DXILResource.h llvm/lib/Analysis/DXILResource.cpp llvm/lib/Target/DirectX/DXILOpLowering.cpp llvm/lib/Target/DirectX/DXILPrettyPrinter.cpp --diff_from_common_commit
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

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

``````````diff
diff --git a/llvm/include/llvm/Analysis/DXILResource.h b/llvm/include/llvm/Analysis/DXILResource.h
index 413bf1a83..b0ac8f948 100644
--- a/llvm/include/llvm/Analysis/DXILResource.h
+++ b/llvm/include/llvm/Analysis/DXILResource.h
@@ -415,8 +415,8 @@ public:
   ResourceInfo(uint32_t Space, uint32_t LowerBound, uint32_t Size,
                TargetExtType *HandleTy, StringRef Name = "",
                GlobalVariable *Symbol = nullptr)
-      : Binding{0, Space, LowerBound, Size},
-        HandleTy(HandleTy), Name(Name), Symbol(Symbol) {}
+      : Binding{0, Space, LowerBound, Size}, HandleTy(HandleTy), Name(Name),
+        Symbol(Symbol) {}
 
   void setBindingID(unsigned ID) { Binding.BindingID = ID; }
 

``````````

</details>


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


More information about the llvm-commits mailing list