[clang] [clang] [doc] Document that the ms_abi attribute works on aarch64 too (PR #166373)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Nov 4 05:59:54 PST 2025
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-clang
Author: Martin Storsjö (mstorsjo)
<details>
<summary>Changes</summary>
Since 022e782e75766e9dd98b9e18572129cd313f3ab5 (2017) this attribute has an effect on both aarch64 and x86_64; update the docs to reflect this.
---
Full diff: https://github.com/llvm/llvm-project/pull/166373.diff
1 Files Affected:
- (modified) clang/include/clang/Basic/AttrDocs.td (+3-3)
``````````diff
diff --git a/clang/include/clang/Basic/AttrDocs.td b/clang/include/clang/Basic/AttrDocs.td
index 2fdd041c1b46e..1be9a96aa44de 100644
--- a/clang/include/clang/Basic/AttrDocs.td
+++ b/clang/include/clang/Basic/AttrDocs.td
@@ -3450,9 +3450,9 @@ Mac, and BSD. This attribute has no effect on other targets.
def MSABIDocs : Documentation {
let Category = DocCatCallingConvs;
let Content = [{
-On non-Windows x86_64 targets, this attribute changes the calling convention of
-a function to match the default convention used on Windows x86_64. This
-attribute has no effect on Windows targets or non-x86_64 targets.
+On non-Windows x86_64 and aarch64 targets, this attribute changes the calling convention of
+a function to match the default convention used on Windows. This
+attribute has no effect on Windows targets or non-x86_64, non-aarch64 targets.
}];
}
``````````
</details>
https://github.com/llvm/llvm-project/pull/166373
More information about the cfe-commits
mailing list