[llvm] [HLSL][DirectX] Extract HLSLBinding out of DXILResource. NFC (PR #150633)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jul 30 12:16:53 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/HLSLBinding.h llvm/lib/Frontend/HLSL/HLSLBinding.cpp llvm/unittests/Frontend/HLSLBindingTest.cpp llvm/include/llvm/Analysis/DXILResource.h llvm/lib/Analysis/DXILResource.cpp llvm/unittests/Target/DirectX/ResourceBindingAnalysisTests.cpp
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/unittests/Frontend/HLSLBindingTest.cpp b/llvm/unittests/Frontend/HLSLBindingTest.cpp
index 697465580..5ed57f3d5 100644
--- a/llvm/unittests/Frontend/HLSLBindingTest.cpp
+++ b/llvm/unittests/Frontend/HLSLBindingTest.cpp
@@ -210,7 +210,6 @@ TEST(HLSLBindingTest, TestEndOfRange) {
       {0, (uint32_t)INT32_MAX - 1, (uint32_t)INT32_MAX + 10, UINT32_MAX});
 }
 
-
 TEST(HLSLBindingTest, TestFindAvailable) {
   hlsl::BindingInfoBuilder Builder;
 
``````````
</details>
https://github.com/llvm/llvm-project/pull/150633
    
    
More information about the llvm-commits
mailing list