[clang] [Headers][X86] Reformat ia32intrin.h doc to match the other headers (PR #77525)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 9 13:27:56 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 47605ffec8864e989905027b2f56277e2dc8b8fa cd91a7f0e5cacb682cb6280655a8d1112cecaf6a -- clang/lib/Headers/ia32intrin.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/clang/lib/Headers/ia32intrin.h b/clang/lib/Headers/ia32intrin.h
index 04238d8f17..a8b59dfaad 100644
--- a/clang/lib/Headers/ia32intrin.h
+++ b/clang/lib/Headers/ia32intrin.h
@@ -30,7 +30,7 @@
/// input is 0.
///
/// \headerfile <x86intrin.h>
-///
+///
/// This intrinsic corresponds to the \c BSF instruction or the
/// \c TZCNT instruction.
///
@@ -135,7 +135,7 @@ __bswapq(long long __A) {
/// Counts the number of bits in the source operand having a value of 1.
///
/// \headerfile <x86intrin.h>
-///
+///
/// This intrinsic corresponds to the \c POPCNT instruction or a
/// a sequence of arithmetic and logic ops to calculate it.
///
@@ -263,7 +263,7 @@ _castu64_f64(unsigned long long __A) {
/// unsigned char operand.
///
/// \headerfile <x86intrin.h>
-///
+///
/// This intrinsic corresponds to the \c CRC32B instruction.
///
/// \param __C
@@ -283,7 +283,7 @@ __crc32b(unsigned int __C, unsigned char __D)
/// unsigned short operand.
///
/// \headerfile <x86intrin.h>
-///
+///
/// This intrinsic corresponds to the \c CRC32W instruction.
///
/// \param __C
@@ -303,7 +303,7 @@ __crc32w(unsigned int __C, unsigned short __D)
/// second unsigned integer operand.
///
/// \headerfile <x86intrin.h>
-///
+///
/// This intrinsic corresponds to the \c CRC32D instruction.
///
/// \param __C
``````````
</details>
https://github.com/llvm/llvm-project/pull/77525
More information about the cfe-commits
mailing list