[clang] [llvm] [HLSL][DXIL] Implementation of round intrinsic (PR #83570)

via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 1 08:33:31 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 5b6e58c565cf809e4133a10ff9d9b096754bea1e f9e5cf8043dffc0c9fc94a8768b25111664311dd -- clang/lib/Headers/hlsl/hlsl_intrinsics.h
``````````

</details>

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

``````````diff
diff --git a/clang/lib/Headers/hlsl/hlsl_intrinsics.h b/clang/lib/Headers/hlsl/hlsl_intrinsics.h
index 28d59f80ef..5180530363 100644
--- a/clang/lib/Headers/hlsl/hlsl_intrinsics.h
+++ b/clang/lib/Headers/hlsl/hlsl_intrinsics.h
@@ -836,7 +836,7 @@ uint64_t4 reversebits(uint64_t4);
 //===----------------------------------------------------------------------===//
 
 /// \fn T round(T x)
-/// \brief Rounds the specified value \a x to the nearest integer. 
+/// \brief Rounds the specified value \a x to the nearest integer.
 /// \param x The specified input value.
 ///
 /// The return value is the \a x parameter, rounded to the nearest integer

``````````

</details>


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


More information about the cfe-commits mailing list