[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:39 PST 2025


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-clang

Author: actink (actinks)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/172148.diff


1 Files Affected:

- (modified) clang/include/clang/Basic/AttrDocs.td (+1-1) 


``````````diff
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

``````````

</details>


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


More information about the cfe-commits mailing list