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 h,cpp -- 
clang/lib/CodeGen/Targets/DirectX.cpp clang/lib/CodeGen/Targets/SPIR.cpp 
clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.cpp 
clang/lib/Sema/HLSLBuiltinTypeDeclBuilder.h 
clang/lib/Sema/HLSLExternalSemaSource.cpp clang/lib/Sema/SemaHLSL.cpp 
llvm/lib/Target/DirectX/DXILOpLowering.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/lib/Target/DirectX/DXILOpLowering.cpp 
b/llvm/lib/Target/DirectX/DXILOpLowering.cpp
index a0ea65c6a..dddbfcab7 100644
--- a/llvm/lib/Target/DirectX/DXILOpLowering.cpp
+++ b/llvm/lib/Target/DirectX/DXILOpLowering.cpp
@@ -679,7 +679,7 @@ public:
       Value *PoisonF = PoisonValue::get(IRB.getFloatTy());
       Value *PoisonI = PoisonValue::get(IRB.getInt32Ty());
       // Common prefix: Handle, Sampler, Coord0..3, Offset0..2
-      SmallVector<Value *, 17> Args{Handle, Sampler, PoisonF, PoisonF, PoisonF,
+      SmallVector<Value *, 17> Args{Handle,  Sampler, PoisonF, PoisonF, 
PoisonF,
                                     PoisonF, PoisonI, PoisonI, PoisonI};
 
       // Copy coordinates and offsets into Args.

``````````

</details>


https://github.com/llvm/llvm-project/pull/203951
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to