[clang] [Docs] Fix typo: missing closing parenthesis in __attribute__ (PR #172148)
via cfe-commits
cfe-commits at lists.llvm.org
Sat Dec 13 02:48:04 PST 2025
https://github.com/actinks created https://github.com/llvm/llvm-project/pull/172148
None
>From bb47db72a0b313bd0ca2de0e64b50b7cabd9442a Mon Sep 17 00:00:00 2001
From: actink <actink at 163.com>
Date: Sat, 13 Dec 2025 18:46:33 +0800
Subject: [PATCH] [Docs] Fix typo: missing closing parenthesis in __attribute__
---
clang/include/clang/Basic/AttrDocs.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index ec20f7ed93eb8..ce332250654e3 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -4140,7 +4140,7 @@ of 2.
.. code-block:: c
typedef double * aligned_double_ptr __attribute__((align_value(64)));
- void foo(double & x __attribute__((align_value(128)),
+ void foo(double & x __attribute__((align_value(128))),
aligned_double_ptr y) { ... }
If the pointer value does not have the specified alignment at runtime, the
More information about the cfe-commits
mailing list