Skip to content

Commit d4e3a23

Browse files
authored
[clang] [doc] Document that the ms_abi attribute works on aarch64 too (#166373)
Since 022e782 (2017) this attribute has an effect on both aarch64 and x86_64; update the docs to reflect this.
1 parent 3154a84 commit d4e3a23

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

clang/include/clang/Basic/AttrDocs.td

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3450,9 +3450,9 @@ Mac, and BSD. This attribute has no effect on other targets.
34503450
def MSABIDocs : Documentation {
34513451
let Category = DocCatCallingConvs;
34523452
let Content = [{
3453-
On non-Windows x86_64 targets, this attribute changes the calling convention of
3454-
a function to match the default convention used on Windows x86_64. This
3455-
attribute has no effect on Windows targets or non-x86_64 targets.
3453+
On non-Windows x86_64 and aarch64 targets, this attribute changes the calling convention of
3454+
a function to match the default convention used on Windows. This
3455+
attribute has no effect on Windows targets or non-x86_64, non-aarch64 targets.
34563456
}];
34573457
}
34583458

0 commit comments

Comments
 (0)