https://github.com/mstorsjo created https://github.com/llvm/llvm-project/pull/166373
Since 022e782e75766e9dd98b9e18572129cd313f3ab5 (2017) this attribute has an effect on both aarch64 and x86_64; update the docs to reflect this. From c593f687f47acc043b53a7527f0f5dfee3188f0b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= <[email protected]> Date: Tue, 4 Nov 2025 15:58:05 +0200 Subject: [PATCH] [clang] [doc] Document that the ms_abi attribute works on aarch64 too Since 022e782e75766e9dd98b9e18572129cd313f3ab5 (2017) this attribute has an effect on both aarch64 and x86_64; update the docs to reflect this. --- clang/include/clang/Basic/AttrDocs.td | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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. }]; } _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
